Skip to content

chore(CD): Update node version to 20 + Install pnpm #2

chore(CD): Update node version to 20 + Install pnpm

chore(CD): Update node version to 20 + Install pnpm #2

Workflow file for this run

---
name: release
on:
push:
branches: [master]
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@master
with:
node-version: '20'
- run: npm install -g pnpm
- run: pnpm i
- run: pnpm build
- run: |
npm install -g \
semantic-release \
@semantic-release/github \
@semantic-release/git \
@semantic-release/exec \
@semantic-release/changelog \
@semantic-release/npm \
semantic-release-chrome \
semantic-release-firefox-add-on \
[email protected]
- run: semantic-release
env:
GH_TOKEN: ${{ secrets.PAT }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
FIREFOX_API_KEY: ${{ secrets.FIREFOX_API_KEY }}
FIREFOX_SECRET_KEY: ${{ secrets.FIREFOX_SECRET_KEY }}
GOOGLE_CLIENT_ID: ${{ secrets.GOOGLE_CLIENT_ID }}
GOOGLE_CLIENT_SECRET: ${{ secrets.GOOGLE_CLIENT_SECRET }}
GOOGLE_REFRESH_TOKEN: ${{ secrets.GOOGLE_REFRESH_TOKEN }}