chore: add webpack env var to dev env #557
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: Test | |
on: | |
push: | |
branches: [master, develop] | |
pull_request: | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: .nvmrc | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v3 | |
with: | |
run_install: true | |
- name: Lint | |
run: pnpm lint | |
- name: Type check | |
run: pnpm type-check | |
- name: Build | |
run: pnpm build | |
- name: Test | |
run: pnpm test | |
- name: Test Node.js v16 | |
run: pnpm --use-node-version=16.19.0 tsx tests |