Skip to content

Commit

Permalink
fix(rari-npm): publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
fiji-flo committed Oct 24, 2024
1 parent 8e2afcc commit 62ad708
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/publish-npm-test-run.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: publish-npm-test-run

on: workflow_dispatch

jobs:
test-run:
runs-on: ubuntu-latest
steps:
- name: Setup
uses: actions/checkout@v4

- name: Checkout
uses: actions/setup-node@v4
with:
registry-url: "https://registry.npmjs.org/"
node-version-file: "./rari-npm/package.json"

- name: Publish
working-directory: ./rari-npm
run: npm publish --access public --dry-run
3 changes: 1 addition & 2 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@ jobs:
uses: actions/checkout@v4

- name: Checkout
working-directory: ./rari-npm
uses: actions/setup-node@v4
with:
registry-url: "https://registry.npmjs.org/"
node-version-file: "package.json"
node-version-file: "./rari-npm/package.json"

- name: Publish
working-directory: ./rari-npm
Expand Down

0 comments on commit 62ad708

Please sign in to comment.