Skip to content

Commit

Permalink
fix: Supply empty NPM_TOKEN to all steps
Browse files Browse the repository at this point in the history
  • Loading branch information
janjakubnanista committed Nov 10, 2023
1 parent a532c09 commit a9d2fc9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/publish-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:

concurrency: ${{ github.workflow }}-${{ github.ref }}

env:
NPM_TOKEN: ""

jobs:
publish:
name: Publish
Expand All @@ -19,8 +22,6 @@ jobs:
with:
node-version-file: ".nvmrc"
cache: "yarn"
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

# Install the dependencies without running the post-install scripts
- name: Install Dependencies
Expand All @@ -31,8 +32,6 @@ jobs:
# Run the post-install scripts
- name: Build Dependencies
run: yarn install --frozen-lockfile --offline
env:
NPM_TOKEN: ""

# Cache build artifacts from turbo
#
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/vape-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
NPM_TOKEN: ""

jobs:
build-and-test:
runs-on: ubuntu-latest
Expand All @@ -21,8 +24,6 @@ jobs:
with:
node-version-file: ".nvmrc"
cache: "yarn"
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

# Install the dependencies without running the post-install scripts
- name: Install Dependencies
Expand All @@ -33,8 +34,6 @@ jobs:
# Run the post-install scripts
- name: Build Dependencies
run: yarn install --frozen-lockfile --offline
env:
NPM_TOKEN: ""

# Cache build artifacts from turbo
#
Expand Down

0 comments on commit a9d2fc9

Please sign in to comment.