Update dependency esbuild to v0.23.0 #416
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 workflow will do a clean install of all dependencies, cache/restore | |
# them, build the source code and run tests across different versions fo node. | |
name: Test CI | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16, 18, 20] | |
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 ci --timing | |
- run: npm run lint | |
- run: npm run build:debug | |
- name: "Run tests on Node 20" | |
run: npm test | |
if: matrix.node-version == 20 | |
env: | |
NODE_OPTIONS: "--loader=tsx" | |
- name: "Run tests on Node < 20" | |
run: npm test | |
if: matrix.node-version < 20 | |
... |