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

publish artifacts

publish artifacts #3

name: publish artifacts
on: [workflow_dispatch]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 16
registry-url: 'https://registry.npmjs.org'
- run: npm ci
working-directory: ./artifacts
- run: npm publish --access public
working-directory: ./artifacts
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}