From 4452ee0463555ff5d7ce256833cbcf847cfcba1d Mon Sep 17 00:00:00 2001 From: Ben Watson Date: Wed, 6 Nov 2024 13:44:05 -0500 Subject: [PATCH] tries to fix github actions --- .github/workflows/build-and-test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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