🔖 v5.3.3 #93
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish | |
on: | |
push: | |
tags: | |
- 'v*.*.*' | |
jobs: | |
publish_npm: | |
name: Publish to NPM | |
runs-on: ubuntu-latest | |
concurrency: | |
group: publish-npm-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
packages: write | |
env: | |
CI: true | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 | |
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c | |
with: | |
node-version: 16 | |
registry-url: 'https://registry.npmjs.org' | |
scope: '@stoe' | |
- name: npm install | |
run: | | |
npm pkg delete scripts.prepare | |
npm install --ignore-scripts --pure-lockfile | |
git ls-files -z . | xargs -0 git update-index --assume-unchanged | |
- run: npm run publish | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
publish_gh: | |
name: Publish to GitHub | |
runs-on: ubuntu-latest | |
concurrency: | |
group: publish-gh-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
packages: write | |
env: | |
CI: true | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 | |
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c | |
with: | |
node-version: 16 | |
registry-url: 'https://npm.pkg.github.com' | |
scope: '@stoe' | |
- name: npm install | |
run: | | |
npm pkg delete scripts.prepare | |
npm install --ignore-scripts --pure-lockfile | |
git ls-files -z . | xargs -0 git update-index --assume-unchanged | |
- run: npm run publish | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |