chore(deps): update actions/setup-node action to v4 (#24) #15
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: [master] | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
release: | |
name: Handle release 🦋 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "18.x" | |
- name: Install dependencies | |
run: yarn | |
- name: Create release PR or publish package | |
id: changesets | |
uses: changesets/action@v1 | |
with: | |
publish: yarn release | |
title: "feature(release): version packages" | |
commit: "ci(changesets): version packages" | |
env: | |
# custom PAT used due to https://github.com/changesets/action/issues/187 | |
GITHUB_TOKEN: ${{ secrets.CHANGESETS_GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |