Skip to content

Commit

Permalink
fix: resolve issues with github action (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabio-nettis committed Mar 28, 2024
1 parent c441114 commit bc815c6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/gh-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ on:
types:
- published
jobs:
publish-npm:
publish-gh:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -18,8 +19,8 @@ jobs:
- name: Setup Node for GitHub Packages
uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://npm.pkg.github.com'
node-version: "20.x"
registry-url: "https://npm.pkg.github.com"

- name: Install Dependencies
run: bun install --frozen-lockfile
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Bun
uses: oven-sh/setup-bun@v1

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
node-version: "20.x"
registry-url: "https://registry.npmjs.org"

- name: Install Dependencies
run: bun install --frozen-lockfile
Expand Down

0 comments on commit bc815c6

Please sign in to comment.