Skip to content

NPM

NPM #36

Workflow file for this run

name: NPM
concurrency:
group: NPM-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
security-events: write
contents: write
pull-requests: write
on:
workflow_dispatch:
release:
types: [created]
workflow_call:
jobs:
Publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: "18"
registry-url: "https://registry.npmjs.org"
- run: npm install -g npm
- name: Publish .
continue-on-error: true
working-directory: .
run: |
npm install --legacy-peer-deps
npm publish --legacy-peer-deps --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}