7.0.3: #146, #147: adds more test cases and temporarily adds ignore.d… #155
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
name: build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
node-version: [20.x] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: npm install, build, and linting | |
run: | | |
npm install | |
npm run build --if-present | |
npm run lint | |
npm run test:ts | |
env: | |
CI: true | |
- name: test nodeResolution 16 | |
if: runner.os != 'Windows' | |
run: | | |
npm run test:16 | |
- name: cases | |
run: | | |
npm run test:cases | |
- name: upload to codecov | |
if: runner.os == 'Linux' | |
uses: codecov/codecov-action@v5 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |