Luke Harris
2024-08-12 18:02:16 -05:00
parent bc8e55d628
commit 7969fbc871
+4 -3
View File
@@ -3,14 +3,15 @@ name: NPM Publish
on:
release:
types: [created]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install -g npm
- run: npm publish --access public