chore(deps): pin dependencies #1090
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: | |
- main | |
- renovate/* | |
pull_request: | |
branches: | |
- main | |
jobs: | |
compatibility: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
nuxt: ["2.13", "2.14"] | |
os: [windows-latest, ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- run: corepack enable | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Add nuxt | |
run: pnpm i nuxt@${{ matrix.nuxt }} | |
working-directory: packages/nuxt-typed-vuex | |
- name: Build | |
run: pnpm build | |
- name: Test | |
run: pnpm test | |
latest: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: corepack enable | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Build | |
run: pnpm build | |
- name: Test | |
run: pnpm test | |
- name: Coverage | |
uses: codecov/codecov-action@v3 |