Skip to content

Publish

Publish #67

Workflow file for this run

name: Publish
on:
workflow_dispatch:
workflow_run:
workflows:
- Test
types:
- completed
branches:
- main
- master
jobs:
build:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@main
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org
- name: ARTIFACT TO UNZIP
uses: judahh/artifactToUnzip@main
with:
production: true
- name: Publish
if: contains(matrix.node-version, '18.x')
uses: judahh/npmPublish@main
with:
node_auth_token: ${{secrets.NODE_AUTH_TOKEN}}