Skip to content

ci: change ci name and trigger to all push (#25) #21

ci: change ci name and trigger to all push (#25)

ci: change ci name and trigger to all push (#25) #21

Workflow file for this run

name: Release npm package
on:
push:
branches:
- master
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: actions/setup-node@v3
with:
node-version: "18.x"
- uses: pnpm/action-setup@v2
- run: pnpm ci-install
- run: pnpm build
- run: pnpm test
- run: npx semantic-release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN_SEMANTIC_RELEASE }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}