Skip to content

fix: generate release version workaround (#993) #632

fix: generate release version workaround (#993)

fix: generate release version workaround (#993) #632

Workflow file for this run

name: release
on:
push:
branches: [release, main]
permissions:
contents: read
jobs:
release:
name: semantic-release
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '18.18.0'
cache: 'npm'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm install --legacy-peer-deps
- name: Build library
run: npm run build
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release