diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3dee1a90dc..a68562c0d0 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,10 +18,9 @@ jobs: registry-url: https://npm.pkg.github.com/ scope: '@tubone24' - name: npm install - run: | - npm install - npx cypress install - npm rebuild node-sass + env: + NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} + run: npm install - name: Test E2E env: GATSBY_GITHUB_CLIENT_SECRET: ${{secrets.GATSBY_GITHUB_CLIENT_SECRET}} @@ -63,6 +62,7 @@ jobs: FAUNADB_SERVER_SECRET: ${{secrets.FAUNADB_SERVER_SECRET}} NETLIFY_ENV: production PERCY_TOKEN: ${{secrets.PERCY_TOKEN}} + NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} run: npm install - name: npm build env: