diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index f2c6327..cfb655b 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -12,6 +12,7 @@ on: env: REFRESH_TOKEN: ${{ secrets.ALKS_REFRESH_TOKEN }} USERNAME: ${{ secrets.ALKS_USER }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} jobs: build_and_test: @@ -29,7 +30,8 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - token: ${{ secrets._GITHUB_TOKEN }} + token: ${{ secrets.NPM_TOKEN }} + registry-url: https://registry.npmjs.org/ - name: Install dependencies run: npm ci - run: npm run build --if-present