Add token to workflow and .npmrc

This commit is contained in:
Daniël van Noord committed 2021-07-11 12:56:01 +02:00
1 parent c0e788b143
commit db07ab6c3e
2 files changed
+9 -2

No files matched your search

+6 -2
View File
@@ -3,9 +3,13 @@ on: pull_request
jobs:
Check_linting_test_and_build:
runs-on: ubuntu-latest
env:
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Check out repository code
uses: actions/checkout@v2
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12
- name: Install dependencies
run: npm ci
- name: Run ESLint
+3
View File
@@ -1 +1,4 @@
always-auth=true
registry=https://registry.npmjs.org/
@cookiemonsterteam:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=${NPM_TOKEN}