mirror of
https://github.com/jwetzell/free-d-js.git
synced 2026-07-26 10:28:44 +00:00
27 lines
795 B
YAML
27 lines
795 B
YAML
name: Publish @jwetzell/free-d to npmjs
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'free-d/*'
|
|
jobs:
|
|
publish-lib:
|
|
permissions:
|
|
id-token: write
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
|
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
|
|
with:
|
|
node-version-file: '.nvmrc'
|
|
registry-url: 'https://registry.npmjs.org'
|
|
cache: 'npm'
|
|
cache-dependency-path: 'package-lock.json'
|
|
|
|
- name: Install Node.js dependencies
|
|
run: npm ci --workspace @jwetzell/free-d
|
|
|
|
- name: Publish to NPM
|
|
run: npm publish --provenance --access=public --workspace @jwetzell/free-d
|
|
env:
|
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|