Skip to content

Commit

Permalink
chore: Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kadengriffith committed Dec 6, 2022
1 parent 469a11b commit d731a91
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,13 @@ jobs:
node-version: [14.x, 16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm i
- run: npm run format:check
- run: npm run lint
- run: npm run test:ci
- run: npm run build
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm i
- run: npm run lint:ci
- run: npm run test:ci
- run: npm run build
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"clean": "rimraf dist",
"playground": "unbuild --stub && nodemon \"playground/server.ts\"",
"lint": "eslint --fix \"**/*\"",
"lint:ci": "eslint \"**/*\"",
"test": "vitest --coverage",
"test:ci": "vitest run --coverage"
},
Expand Down

0 comments on commit d731a91

Please # to comment.