Skip to content

Publish package

Publish package #1

Workflow file for this run

name: Publish package
on:
release:
types:
- published
jobs:
publish-gpr:
runs-on:
group: thulium-ubuntu-runners
permissions:
packages: write
contents: read
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Set up Node.js 18.13.0
uses: actions/[email protected]
with:
node-version: 20.17.0
registry-url: https://npm.pkg.github.com/
- name: Install dependencies
run: npm ci
- name: Build production
run: npm run release
- name: Publish package
run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}