mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
ci: adapt ci scripts
This commit is contained in:
2 files changed
+4
-3
No files matched your search
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user