Skip to content

Commit

Permalink
chore(ci): add github npm registry url for sapcc
Browse files Browse the repository at this point in the history
  • Loading branch information
andypf committed Nov 20, 2024
1 parent 46e2fd2 commit a51b7e6
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,12 @@ jobs:
apt-get install -y nodejs
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: "20.x"
registry-url: "https://npm.pkg.github.com"
scope: "@sapcc" # Definiert den Scope für die Registry
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
scope: "@sapcc"

- name: Gem cache
id: cache-bundle
Expand All @@ -67,6 +66,8 @@ jobs:
bundle install --jobs 4 --retry 3 --path vendor/bundle
- name: Install yarn
run: npm install -g yarn
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Get yarn cache dir
id: yarn-cache-dir
Expand All @@ -93,6 +94,8 @@ jobs:
- name: Yarn install
id: test-js
run: |
yarn install
yarn test
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a51b7e6

Please sign in to comment.