chore: drop node 14.x test #375
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 | |
pull_request: | |
branches: | |
- main | |
jobs: | |
ci: | |
timeout-minutes: 20 | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node-version: [16.x] | |
# os: [ubuntu-latest, windows-latest, macos-latest] | |
os: [ubuntu-latest] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2.2.1 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
registry-url: https://registry.npmjs.org/ | |
cache: "pnpm" | |
- run: pnpm install | |
- name: Run linter | |
run: pnpm run lint | |
- name: Build | |
run: pnpm run stub && pnpm run prepare:playground && pnpm run build | |
# Playground Dependencies | |
- name: Install nuxt-bridge dependencies | |
run: cd playground/nuxt-bridge && pnpm install | |
- name: Install nuxt2-vite dependencies | |
run: cd playground/nuxt2-vite && pnpm install | |
- name: Install nuxt2-webpack dependencies | |
run: cd playground/nuxt2-webpack && pnpm install | |
- name: Install nuxt3 dependencies | |
run: cd playground/nuxt3 && pnpm install && pnpm prepare | |
- name: Run tests | |
run: pnpm run test |