Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
antony committed Aug 1, 2024
1 parent db634af commit faf5b37
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Node.js Package

on:
push:
tags:
- 'v*'

jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4

- name: authorise pnpm
run: |
npm config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}
corepack enable
- name: publish
run: |
pnpm install
pnpm test
pnpm publish

0 comments on commit faf5b37

Please sign in to comment.