Skip to content

chore: sync with main branch #24

chore: sync with main branch

chore: sync with main branch #24

Workflow file for this run

name: Release
on:
push:
branches:
- main
- next
- '*.x'
- '*.x.x'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
permissions:
contents: read # for checkout
env:
HUSKY: 0
jobs:
release:
name: Release
runs-on: ubuntu-latest
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
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.CI_GITHUB_TOKEN }}
persist-credentials: false
- name: Setup Node.js 14
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install dependencies
run: npm clean-install
- name: Setup LTS Node.js
uses: actions/setup-node@v3
with:
node-version: 'lts/*'
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release