diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7617383f..bf4313eb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,6 +22,9 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} + - run: | + echo '@restatedev:registry=https://npm.pkg.github.com/' > ~/.npmrc + echo '//npm.pkg.github.com/:_authToken=${GH_PACKAGE_READ_ACCESS_TOKEN}' >> ~/.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}