-
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.
chore: drop OS matrix, rename default branch
We're not working with any OS specific stuff
- Loading branch information
Showing
3 changed files
with
33 additions
and
40 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
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,32 +1,36 @@ | ||
name: Run Lint and Tests | ||
|
||
on: push | ||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
- alpha | ||
- beta | ||
- next | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macOS-latest, windows-latest] | ||
node-version: [lts/-2, lts/-1, lts/*] | ||
node-version: [lts/-1, lts/*] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: npm install | ||
run: | | ||
npm install | ||
env: | ||
CI: true | ||
run: npm install | ||
|
||
- name: npm lint | ||
run: | | ||
npm run lint | ||
env: | ||
CI: true | ||
run: npm run lint | ||
|
||
- name: npm types | ||
run: npm run types | ||
|
||
- name: npm test | ||
run: | | ||
npm test | ||
env: | ||
CI: true | ||
run: npm test |
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