mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-07-28 04:08:05 +00:00
github: remove private token
We should no longer need this since @pybricks packages are now public
This commit is contained in:
committed by
David Lechner
parent
087fb43b35
commit
199fc120ca
@@ -9,13 +9,14 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '10.x'
|
||||
registry-url: 'https://npm.pkg.github.com'
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install
|
||||
- run: yarn install
|
||||
env:
|
||||
TOKEN: ${{ secrets.privateToken }}
|
||||
run: |
|
||||
echo "//npm.pkg.github.com/:_authToken=$TOKEN" >> .npmrc
|
||||
yarn install
|
||||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Build
|
||||
if: ${{ success() }}
|
||||
run: yarn build
|
||||
|
||||
@@ -13,13 +13,14 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '10.x'
|
||||
registry-url: 'https://npm.pkg.github.com'
|
||||
- uses: actions/checkout@v2
|
||||
- name: Run yarn install
|
||||
run: |
|
||||
echo "//npm.pkg.github.com/:_authToken=$TOKEN" >> $HOME/.npmrc
|
||||
yarn install
|
||||
- run: yarn install
|
||||
env:
|
||||
TOKEN: ${{ secrets.privateToken }}
|
||||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- run: |
|
||||
yarn lint
|
||||
git diff --exit-code
|
||||
|
||||
Reference in New Issue
Block a user