-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (37 loc) · 991 Bytes
/
nuxt.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Nuxt.js
on:
pull_request:
branches: ["*"]
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./client
steps:
- uses: actions/setup-node@v3
with:
node-version: 16.x
- uses: actions/checkout@v3
- name: Install Dependencies
run: npm install
- name: Build Project
run: npm run build
prettier:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./client
steps:
- uses: actions/setup-node@v3
with:
node-version: 16.x
- uses: actions/checkout@v3
- name: Install Dependencies
run: npm install
- name: prettier Version
run: ./node_modules/prettier/bin/prettier.cjs --version
- name: prettier Dry Run (ts)
run: ./node_modules/prettier/bin/prettier.cjs --check **/*.ts
- name: prettier Dry Run (vue)
run: ./node_modules/prettier/bin/prettier.cjs --check **/*.vue