Skip to content

ci: update action versions #48

ci: update action versions

ci: update action versions #48

Workflow file for this run

name: Release
on:
push:
paths-ignore:
- '**/CHANGELOG.md'
- '**/package*.json'
branches: [main, develop]
workflow_dispatch:
jobs:
pre_run:
name: Cancel previous runs
runs-on: ubuntu-latest
steps:
- uses: styfle/cancel-workflow-action@ad6cb1b847ffb509a69b745b6ee2f1d14dfe14b8
with:
access_token: ${{ github.token }}
release:
name: Release
runs-on: ubuntu-latest
needs: [pre_run]
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GH_TOKEN }}
- uses: actions/setup-node@v3
with:
node-version: 20
cache: npm
- run: npm ci
- uses: cycjimmy/semantic-release-action@v4
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
with:
extra_plugins: |
@semantic-release/changelog
@semantic-release/git