Skip to content

docs: use new nuxi module add command in installation #1

docs: use new nuxi module add command in installation

docs: use new nuxi module add command in installation #1

Workflow file for this run

name: CI
on:
# Runs on pushes targeting the default branch
push:
branches: ["*"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "18"
cache: ${{ steps.detect-package-manager.outputs.manager }}
- name: Restore cache
uses: actions/cache@v4
with:
path: |
dist
.nuxt
key: ${{ runner.os }}-nuxt-build-${{ hashFiles('dist') }}
restore-keys: |
${{ runner.os }}-nuxt-build-
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm install
- name: Prepare env
run: pnpm run dev:prepare
- name: Lint
run: pnpm run lint
- name: Tests
run: pnpm run test