Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Update

Update #555

Workflow file for this run

name: Update
on:
schedule:
- cron: '10 10 */2 * *'
jobs:
check-and-update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: fregante/setup-git-user@v2
- name: Try updating the version
run: |
npm publish || true # Try publishing the version in git, in case it was manually changed
if npm version $(npm info web-ext version); then
npm config set '//registry.npmjs.org/:_authToken' "${{ secrets.NPM_TOKEN }}"
npm publish
git push --follow-tags
fi