Skip to content

Commit

Permalink
Merge pull request #119 from nabla-studio/davidesegullo/fix-npm
Browse files Browse the repository at this point in the history
Davidesegullo/fix npm
  • Loading branch information
DavideSegullo authored Oct 26, 2024
2 parents 4445b08 + 90b3c55 commit 5cd92af
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/release-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ jobs:
release:
runs-on: ubuntu-latest
environment: preview
permissions:
contents: read
id-token: write # needed for provenance data generation
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RELEASE_PREID: ${{ vars.RELEASE_PREID }}
RELEASE_SPECIFIER: ${{ vars.RELEASE_SPECIFIER }}
RELEASE_TAG: ${{ vars.RELEASE_TAG }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

steps:
# Step 1: Check out the repository code
Expand Down Expand Up @@ -61,6 +63,9 @@ jobs:

# Step 9: Run the release
- name: Run Nx release version
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true
run: bun run tools/scripts/release.ts -d false

# Step 10: Clean up dist directory
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/release-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ jobs:
release:
runs-on: ubuntu-latest
environment: production
permissions:
contents: read
id-token: write # needed for provenance data generation
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

steps:
# Step 1: Check out the repository code
Expand Down Expand Up @@ -59,6 +61,9 @@ jobs:

# Step 9: Run the release
- name: Run Nx release version
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true
run: bun run tools/scripts/release.ts -d false

# Step 10: Clean up dist directory
Expand Down
6 changes: 1 addition & 5 deletions packages/nuxt/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# nuxt

This library was generated with [Nx](https://nx.dev).

## Running unit tests

Run `nx test nuxt` to execute the unit tests via [Vitest](https://vitest.dev/).
This package defines [nuxt](https://nuxt.com/) utility for quirks.

0 comments on commit 5cd92af

Please sign in to comment.