change vue-compat mode to 2 as per migration docs #50
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: tests | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
pull_request: | |
branches: | |
- main | |
- dev | |
schedule: | |
- cron: '0 0 16 * *' | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-latest, windows-latest ] | |
node-version: [ 16.x, 18.x ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Using Node.js ${{ matrix.node-version }} on ${{ matrix.os }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm install -g pnpm@^8 | |
- run: pnpm install --frozen-lockfile | |
- run: pnpm run demo:dev | |
- run: pnpm run demo:prod |