Skip to content

Commit

Permalink
Update test-package.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderYW authored Oct 29, 2021
1 parent 512ef37 commit e7cf0da
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/test-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ on:
branches: [ main ]

jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 15.x, 16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm lint
# lint:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# node-version: [14.x, 15.x, 16.x]
# steps:
# - uses: actions/checkout@v2
# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v1
# with:
# node-version: ${{ matrix.node-version }}
# - run: npm ci
# - run: npm lint

test:
runs-on: ubuntu-latest
Expand All @@ -36,7 +36,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test
- run: npm run test

build:
runs-on: ubuntu-latest
Expand All @@ -50,4 +50,4 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm build
- run: npm run build

0 comments on commit e7cf0da

Please sign in to comment.