generated from bartveneman/node-package-starter
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
70497a4
commit ea37541
Showing
5 changed files
with
1,333 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,13 +24,21 @@ jobs: | |
- name: Install dependencies | ||
run: npm install --ignore-scripts --no-audit --no-fund | ||
- name: Lint JS | ||
run: npx --yes oxlint@latest -D perf | ||
run: npx oxlint@latest -D perf | ||
- name: Check types | ||
run: npm run check | ||
- name: Build package | ||
run: npm run build | ||
env: | ||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||
- name: Lint package | ||
run: npx --yes publint | ||
run: npx publint | ||
- name: Run tests | ||
run: npx c8 --reporter=lcov npm test | ||
- name: Upload coverage reports to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
test: | ||
name: Unit tests | ||
runs-on: ubuntu-latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
node_modules | ||
dist | ||
dist | ||
coverage |
Oops, something went wrong.