Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

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 ./Script
continue-on-error: true
working-directory: ./Script
run: |
npm install --legacy-peer-deps
npm publish --legacy-peer-deps --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}