Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
lenkan committed May 5, 2024
1 parent 67192ae commit 838edbe
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@ name: Create NPM package
on:
workflow_dispatch:
push:
branches:
- 'main'
tags:
- v*
# - github.action_ref
jobs:
pack:
name: Create npm package
runs-on: ubuntu-latest
env:
NPM_PACKAGE_NAME: ${{ vars.NPM_PACKAGE_NAME }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_PACKAGE_VERSION: ${{ github.action_ref }}
steps:
- name: Checkout repo
uses: actions/checkout@v4
Expand All @@ -23,4 +25,4 @@ jobs:
- name: Set package name and version
run: node prepack.js
- name: Publish
run: npm publish --tag next
run: npm publish --dry-run

0 comments on commit 838edbe

Please sign in to comment.