Skip to content

Commit

Permalink
dump npmrc after creation
Browse files Browse the repository at this point in the history
  • Loading branch information
pcholakov committed Sep 22, 2023
1 parent 9ba8a78 commit 6468a4e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
build:
# prevent from running on forks
#if: github.repository_owner == 'restatedev'
if: github.repository_owner == 'restatedev'
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -22,9 +22,11 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: |
- name: Create .npmrc
run: |
echo '@restatedev:registry=https://npm.pkg.github.com/' > ~/.npmrc
echo '//npm.pkg.github.com/:_authToken=${GH_PACKAGE_READ_ACCESS_TOKEN}' >> ~/.npmrc
cat ~/.npmrc
- run: npm ci --prefix typescript
env:
GH_PACKAGE_READ_ACCESS_TOKEN: ${{ secrets.GH_PACKAGE_READ_ACCESS_TOKEN }}
Expand Down

0 comments on commit 6468a4e

Please sign in to comment.