fix: dep's (#15) #8
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: π changeset | |
on: | |
push: | |
branches: | |
- main | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
release: | |
name: changesets-pr | |
runs-on: ubuntu-latest | |
steps: | |
- name: π§Ί checkout | |
uses: actions/checkout@v4 | |
- name: π± use .nvmrc | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
cache: "npm" | |
- name: π npm install | |
run: npm ci --prefer-offline --no-audit | |
- name: π΅οΈ npm test | |
run: npm test | |
- name: π npm run build | |
run: npm run build | |
- name: β¨ check changesets | |
uses: changesets/action@v1 | |
with: | |
commit: "chore: π release" | |
title: "chore: π release" | |
publish: npx changeset publish | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |