From 8a9a446331b5acc521ce60e89f0cce07c786e1db Mon Sep 17 00:00:00 2001 From: Geovanni Pacheco Date: Tue, 30 Jan 2024 22:19:43 -0300 Subject: [PATCH] use npm token --- .github/workflows/build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 69e1093..42f75d5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,11 @@ jobs: uses: actions/checkout@v2 - name: Install dependencies - run: yarn + env: + NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} + run: | + echo "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" > .npmrc + yarn - name: Validate run: yarn validate