ci: adapt ci scripts

This commit is contained in:
4gray committed 2021-06-19 23:04:14 +02:00
1 parent c36c70aa70
commit f7689539c8
2 files changed
+4 -3

No files matched your search

+1 -2
View File
@@ -20,6 +20,7 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: "12.x"
- run: git config --global url."https://${{ secrets.PAT }}@github.com/".insteadOf ssh://git@github.com/
- run: npm ci
- run: npm test -- --coverage
- run: bash <(curl -s https://codecov.io/bash)
@@ -38,8 +39,6 @@ jobs:
steps:
- name: Check out Git repository
uses: actions/checkout@v1
with:
persist-credentials: false
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
+3 -1
View File
@@ -13,11 +13,13 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: "12.x"
persist-credentials: false
- run: git config --global url."https://${{ secrets.PAT }}@github.com/".insteadOf ssh://git@github.com/
- run: npm install
- run: npm test -- --coverage
- run: bash <(curl -s https://codecov.io/bash)