Skip to content

Commit

Permalink
chore: Adding NPM_TOKEN to npmrc file
Browse files Browse the repository at this point in the history
  • Loading branch information
m-seidel authored Jun 4, 2024
1 parent 9b9261c commit edd12d6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
executing-tests:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- name: Checkout repository
Expand All @@ -17,17 +17,17 @@ jobs:
persist-credentials: false

- name: Use Node.js Version
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
registry-url: 'https://npm.pkg.github.com/'
scope: '@staffbase'

- run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.STAFFBOT_NPM_READ }}" >> .npmrc

- name: Install Yarn Dependencies
working-directory: samples/weather-forecast
run: yarn install --frozen-lockfile
env:
NODE_AUTH_TOKEN: ${{ secrets.STAFFBOT_NPM_READ }}

- name: Run Build
working-directory: samples/weather-forecast
Expand Down

0 comments on commit edd12d6

Please sign in to comment.