mirror of
https://github.com/fluencelabs/js-libp2p-noise
synced 2025-06-13 18:01:39 +00:00
chore: fix test node and readd cache
This commit is contained in:
22
.github/workflows/ci.yml
vendored
22
.github/workflows/ci.yml
vendored
@ -17,16 +17,16 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: 14
|
node-version: 14
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
# - name: Get yarn cache directory path
|
- name: Get yarn cache directory path
|
||||||
# id: yarn-cache-dir-path
|
id: yarn-cache-dir-path
|
||||||
# run: echo "::set-output name=dir::$(yarn cache dir)"
|
run: echo "::set-output name=dir::$(yarn cache dir)"
|
||||||
# - uses: actions/cache@v2
|
- uses: actions/cache@v2
|
||||||
# id: yarn-cache
|
id: yarn-cache
|
||||||
# with:
|
with:
|
||||||
# path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
|
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
|
||||||
# key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
||||||
# restore-keys: |
|
restore-keys: |
|
||||||
# ${{ runner.os }}-yarn-
|
${{ runner.os }}-yarn-
|
||||||
- run: yarn --prefer-offline --frozen-lockfile
|
- run: yarn --prefer-offline --frozen-lockfile
|
||||||
- run: yarn run check
|
- run: yarn run check
|
||||||
- run: yarn run build
|
- run: yarn run build
|
||||||
@ -59,7 +59,7 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-yarn-
|
${{ runner.os }}-yarn-
|
||||||
- run: yarn --prefer-offline --frozen-lockfile
|
- run: yarn --prefer-offline --frozen-lockfile
|
||||||
- run: aegir test -t node --bail --cov
|
- run: npx aegir test -t node --bail --cov
|
||||||
- uses: codecov/codecov-action@v1
|
- uses: codecov/codecov-action@v1
|
||||||
|
|
||||||
test-chrome:
|
test-chrome:
|
||||||
|
Reference in New Issue
Block a user