Skip to content

0.1.1

0.1.1 #3

name: publish-package-gh
on:
push:
tags:
- 'v*'
jobs:
publish:
name: Build and Publish to GH
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Configure .npmrc
uses: actions/setup-node@v4
with:
node-version: '18.x'
registry-url: 'https://npm.pkg.github.com'
- name: Perform basic audit
run: npm audit --audit-level low
- name: Publish
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}