diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7617383f..750e5485 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,6 +22,10 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} + - name: Create .npmrc + run: | + echo '@restatedev:registry=https://npm.pkg.github.com/' > typescript/.npmrc + echo '//npm.pkg.github.com/:_authToken=${GH_PACKAGE_READ_ACCESS_TOKEN}' >> typescript/.npmrc - run: npm ci --prefix typescript env: GH_PACKAGE_READ_ACCESS_TOKEN: ${{ secrets.GH_PACKAGE_READ_ACCESS_TOKEN }} diff --git a/typescript/.npmrc b/typescript/.npmrc deleted file mode 100644 index 8958abd6..00000000 --- a/typescript/.npmrc +++ /dev/null @@ -1,2 +0,0 @@ -@restatedev:registry=https://npm.pkg.github.com/ -//npm.pkg.github.com/:_authToken=${GH_PACKAGE_READ_ACCESS_TOKEN}