Update dependency nuxt to v3.8.1 #555
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-CI | |
on: | |
pull_request: | |
env: | |
NODE_ENV: prod | |
jobs: | |
StyleGuides_checks: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node: [18.x] | |
os: [ubuntu-latest] | |
fail-fast: false | |
steps: | |
- name: ⬇️ Checkout code | |
uses: actions/checkout@v3 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2 | |
- name: ⚙️ Set node ${{ matrix.node }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: pnpm | |
- name: ⚙️ Setup | |
run: npm i -g @antfu/ni | |
- name: 🔧 Install | |
run: nci | |
- name: 📖 Lint | |
run: nr lint | |
- name: ☑️ Type checking | |
run: nr type:check | |
Tests: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node: [18.x] | |
os: [ubuntu-latest] | |
fail-fast: false | |
steps: | |
- name: ⬇️ Checkout code | |
uses: actions/checkout@v3 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2 | |
- name: ⚙️ Set node ${{ matrix.node }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: pnpm | |
- name: ⚙️ Setup | |
run: npm i -g @antfu/ni | |
- name: 🔧 Install | |
run: nci | |
- name: 🏗 Build | |
run: nr build | |
- name: ✅ Tests | |
run: nr test | |
Build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node: [18.x] | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
fail-fast: false | |
steps: | |
- name: ⬇️ Checkout code | |
uses: actions/checkout@v3 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2 | |
- name: ⚙️ Set node ${{ matrix.node }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: pnpm | |
- name: ⚙️ Setup | |
run: npm i -g @antfu/ni | |
- name: 🔧 Install | |
run: nci | |
- name: 🏗 Build | |
run: nr build |