Skip to content

Publish v2.4.2 (#961) #719

Publish v2.4.2 (#961)

Publish v2.4.2 (#961) #719

Workflow file for this run

name: push
on:
push:
branches: [main]
jobs:
call-build:
uses: ./.github/workflows/build.yml
release:
needs: call-build
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: "npm"
- run: npm install
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: npm run release
title: Publish <version>
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}