Skip to content

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

docs: use new nuxi module add command in installation

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

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
ci:
strategy:
matrix:
os: [ubuntu-latest]
node: [20]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout πŸ›Ž
uses: actions/checkout@v3
- name: Setup node env πŸ—
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
check-latest: true
- name: Get yarn cache directory path πŸ› 
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache node_modules πŸ“¦
uses: actions/cache@v3
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies πŸ‘¨πŸ»β€πŸ’»
run: yarn
- name: Prepare environment 🌳
run: yarn dev:prepare
- name: Run lint 🧹
run: yarn lint
- name: Install Praywright browsers 🎭
run: yarn playwright install
- name: Run tests πŸ§ͺ
run: yarn test:types && yarn test