ci: typo in ci func
ci: typo in ci func ci: typo in ci func ci: typo in ci func ci: typo in ci func
This commit is contained in:
parent
687da3259b
commit
a658d2a25c
1 changed files with 18 additions and 11 deletions
29
.github/workflows/nodejs.yml
vendored
29
.github/workflows/nodejs.yml
vendored
|
@ -19,14 +19,15 @@ jobs:
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v3
|
||||||
if: dependencies-cache
|
id: dependencies-cache
|
||||||
env:
|
env:
|
||||||
cache-name: dependencies-cache
|
cache-name: dependencies-cache
|
||||||
with:
|
with:
|
||||||
path: .yarn
|
path: .yarn
|
||||||
key: ${{ runner.os }}-build-${{env.cache-name}}-${{ hashFile('**/yarn.lock') }}-node-${{ matrix.node-version }}
|
key: ${{ runner.os }}-build-${{env.cache-name}}-${{ hashFiles('**/yarn.lock') }}-node-${{ matrix.node-version }}
|
||||||
- if: ${{ steps.cache-npm.outputs.cache-hit != 'true' }}
|
- if: ${{ steps.cache-npm.outputs.cache-hit != 'true' }}
|
||||||
run: yarn
|
run: yarn
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: dependencies
|
needs: dependencies
|
||||||
|
@ -37,13 +38,15 @@ jobs:
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 18
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v3
|
||||||
if: dependencies-cache
|
id: dependencies-cache
|
||||||
env:
|
env:
|
||||||
cache-name: dependencies-cache
|
cache-name: dependencies-cache
|
||||||
with:
|
with:
|
||||||
path: .yarn
|
path: .yarn
|
||||||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFile('**/yarn.lock') }}-node-18
|
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}-node-18
|
||||||
- run: yarn lint
|
- run: |
|
||||||
|
yarn
|
||||||
|
yarn lint
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: dependencies
|
needs: dependencies
|
||||||
|
@ -59,13 +62,15 @@ jobs:
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v3
|
||||||
if: dependencies-cache
|
id: dependencies-cache
|
||||||
env:
|
env:
|
||||||
cache-name: dependencies-cache
|
cache-name: dependencies-cache
|
||||||
with:
|
with:
|
||||||
path: .yarn
|
path: .yarn
|
||||||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFile('**/yarn.lock') }}-node-${{ matrix.node-version }}
|
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}-node-${{ matrix.node-version }}
|
||||||
- run: yarn test:coverage
|
- run: |
|
||||||
|
yarn
|
||||||
|
yarn test:coverage
|
||||||
- name: Coverage
|
- name: Coverage
|
||||||
uses: codecov/codecov-action@v1
|
uses: codecov/codecov-action@v1
|
||||||
with:
|
with:
|
||||||
|
@ -86,10 +91,12 @@ jobs:
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v3
|
||||||
if: dependencies-cache
|
id: dependencies-cache
|
||||||
env:
|
env:
|
||||||
cache-name: dependencies-cache
|
cache-name: dependencies-cache
|
||||||
with:
|
with:
|
||||||
path: .yarn
|
path: .yarn
|
||||||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFile('**/yarn.lock') }}-node-${{ matrix.node-version }}
|
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}-node-${{ matrix.node-version }}
|
||||||
- run: yarn build
|
- run: |
|
||||||
|
yarn
|
||||||
|
yarn build
|
||||||
|
|
Reference in a new issue