Skip to content

fix: update release action to look for changes in main #1

fix: update release action to look for changes in main

fix: update release action to look for changes in main #1

Workflow file for this run

name: Release npm package
on:
push:
branches:
- main
concurrency:
group: release-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: write
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v1
with:
node-version: '20.x'
- run: yarn --pure-lockfile
- run: yarn run build
- run: yarn run semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}