From 8b370febbf0faa163fff347af561680cc2886fbf Mon Sep 17 00:00:00 2001 From: Luisfc68 Date: Wed, 31 Jan 2024 16:03:30 -0300 Subject: [PATCH] ci: add npm config --- .github/workflows/ci.yml | 3 +++ .npmrc | 1 + 2 files changed, 4 insertions(+) create mode 100644 .npmrc diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd636e9..fafe853 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,6 +29,9 @@ jobs: with: node-version: '19.6.0' + - name: NPM Login + run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> .npmrc + - name: Install truffle run: npm install -g truffle diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..3ecd790 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +@rsksmart:registry=https://npm.pkg.github.com \ No newline at end of file