Skip to content

Use @cycjimmy’s release action #9

Use @cycjimmy’s release action

Use @cycjimmy’s release action #9

Workflow file for this run

name: Release
on:
push:
branches:
- main
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repository
uses: actions/checkout@v4
- name: ⎔ Setup node
uses: actions/setup-node@v4
- name: 📥 Install
run: yarn install
- name: 🏗 Build
run: yarn build
- name: 🚀 Release
uses: cycjimmy/semantic-release-action@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}