Skip to content

0624_1544

0624_1544 #5

Workflow file for this run

name: npm
on:
push:
branches:
- master
- dev
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
permissions:
contents: write
id-token: write
issues: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 18
- name: Build
run: npm run build
- name: Release PR
uses: changesets/action@v1
with:
version: "npm install @changesets/cli && npx changeset version"
publish: npx changeset publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}