chore(deps): update dependency vitest to v2 #1618
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, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: use yarn | |
run: corepack enable | |
- name: install deps | |
run: yarn | |
- name: lint | |
run: yarn lint | |
- name: astro check | |
run: yarn typecheck | |
- name: build | |
run: npm run build | |
- name: test | |
run: yarn test |