github: remove private token

We should no longer need this since @pybricks packages are now public
This commit is contained in:
David Lechner
2020-06-15 11:51:49 -05:00
committed by David Lechner
parent 087fb43b35
commit 199fc120ca
2 changed files with 12 additions and 10 deletions
+6 -5
View File
@@ -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
+6 -5
View File
@@ -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