fix(deps): update dependency @types/react to v18.2.19 (#30) #33
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: | |
- '*' | |
pull_request: | |
branches: | |
- main | |
- develop | |
jobs: | |
build: | |
name: Lint, Build and Test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: ['18', '20'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: latest | |
run_install: false | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
registry-url: https://npm.pkg.github.com | |
cache: 'pnpm' | |
cache-dependency-path: './pnpm-lock.yaml' | |
- run: pnpm install --frozen-lockfile | |
# -------------- end of setup | |
- name: Lint source | |
run: | | |
pnpm run lint:ci | |
- name: Build apps and packages | |
run: | | |
pnpm run build:ci | |
- name: Run tests | |
run: | | |
pnpm run test:ci | |
env: | |
CI: true |