This repository has been archived by the owner on Sep 1, 2024. It is now read-only.
feat: bump to 3.5.8 #13
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
tags: | |
- v3.* | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: sudo apt-get -y install pandoc | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- run: npm ci | |
- run: npm test | |
- run: npm run build | |
- run: npm run lint-build | |
- uses: ffurrer2/extract-release-notes@v2 | |
id: extract_notes | |
- name: upload artifact to release | |
uses: ncipollo/release-action@v1 | |
with: | |
allowUpdates: True | |
tag: ${{ github.ref_name }} | |
body: ${{ steps.extract_notes.outputs.release_notes }} | |
omitNameDuringUpdate: True | |
artifacts: "web-ext-artifacts/*.zip" | |
token: ${{ secrets.GITHUB_TOKEN }} | |
# TODO: get AMO credentials to enable this | |
# https://extensionworkshop.com/documentation/develop/getting-started-with-web-ext/ | |
# - run: npm run deploy | |
# env: | |
# WEB_EXT_CHANNEL: listed | |
# WEB_EXT_API_KEY: ${{ secrets.WEB_EXT_API_KEY }} | |
# WEB_EXT_API_SECRET: ${{ secrets.WEB_EXT_API_SECRET }} |