Merge pull request #108 from Royal-lobster/changeset-release/main #84
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: | |
branches: | |
- main | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v2 | |
- name: Setup Node.js and pnpm | |
uses: wyvox/action-setup-pnpm@v3 | |
with: | |
node-version: '18' | |
- name: Create Release Pull Request or Publish to npm | |
id: changesets | |
uses: changesets/action@v1 | |
with: | |
publish: pnpm release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
CHROME_EXTENSION_ID: ${{ secrets.CHROME_EXTENSION_ID }} | |
CHROME_CLIENT_ID: ${{ secrets.CHROME_CLIENT_ID }} | |
CHROME_CLIENT_SECRET: ${{ secrets.CHROME_CLIENT_SECRET }} | |
CHROME_REFRESH_TOKEN: ${{ secrets.CHROME_REFRESH_TOKEN }} |