Skip to content

chore(CD): Use v5 for codeclimate action #6

chore(CD): Use v5 for codeclimate action

chore(CD): Use v5 for codeclimate action #6

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 \
aggregate-error@3.1.0
- 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 }}