Fix CI without token (#6)

This commit is contained in:
pinkforest(she/her)
2023-03-26 05:09:09 +11:00
committed by GitHub
parent 6ef0fcd2dd
commit 71526086eb
+4 -6
View File
@@ -6,12 +6,10 @@ jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Create npm configuration
run: echo "//npm.pkg.github.com/:_authToken=${token}" >> ~/.npmrc
env:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci
- run: npm run lint
- run: npm run build