build(deps): bump esbuild from 0.19.2 to 0.19.6 #5268
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 | |
- '**' | |
jobs: | |
build_on_mac: | |
runs-on: macOS-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@master | |
with: | |
node-version: 16.x | |
- name: npm install & build | |
run: | | |
npm ci --legacy-peer-deps | |
npm run build | |
env: | |
CI: true | |
- name: npm lint | |
run: | | |
npm run lint | |
env: | |
CI: true | |
- name: npm test | |
run: | | |
npm test | |
env: | |
CI: true | |
build_on_win: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@master | |
with: | |
node-version: 16.x | |
- name: npm install & build | |
run: | | |
npm ci --legacy-peer-deps | |
npm run build | |
env: | |
CI: true | |
- name: npm lint | |
run: | | |
npm run lint | |
env: | |
CI: true | |
- name: npm test | |
run: | | |
npm test | |
env: | |
CI: true | |
build_on_ubuntu: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@master | |
with: | |
node-version: 16.x | |
- name: npm install & build | |
run: | | |
npm ci --legacy-peer-deps | |
npm run build | |
env: | |
CI: true | |
- name: npm lint | |
run: | | |
npm run lint | |
env: | |
CI: true | |
- name: npm test | |
run: | | |
npm test | |
env: | |
CI: true | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@master | |
with: | |
node-version: 16.x | |
- name: Calculate Test Coverage | |
run: | | |
npm ci --legacy-peer-deps | |
npm run coverage | |
- name: Upload Test Coverage | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |