File tree Expand file tree Collapse file tree 4 files changed +58
-1
lines changed Expand file tree Collapse file tree 4 files changed +58
-1
lines changed Original file line number Diff line number Diff line change
1
+ .node-template :
2
+ image : node:22
3
+ before_script :
4
+ - corepack enable
5
+
6
+ include :
7
+ - local : .gitlab/workflows/tests.yml
8
+ - local : .gitlab/workflows/deploy.yml
Original file line number Diff line number Diff line change
1
+ build :
2
+ extends : .node-template
3
+ script :
4
+ - pnpm install
5
+ - pnpm build --preset gitlab_pages
6
+ artifacts :
7
+ paths :
8
+ - ./.output/public
9
+
10
+ deploy :
11
+ extends : .node-template
12
+ needs :
13
+ - build
14
+ script :
15
+ # Adjust the deployment strategy here; e.g., for GitLab Pages:
16
+ - mv ./.output/public public
17
+ rules :
18
+ - if : $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
19
+ pages :
20
+ publish : public
Original file line number Diff line number Diff line change
1
+ lint :
2
+ extends : .node-template
3
+ script :
4
+ - pnpm install
5
+ - pnpm lint
6
+
7
+ typecheck :
8
+ extends : .node-template
9
+ script :
10
+ - pnpm install
11
+ - pnpm typecheck
12
+
13
+ spelling :
14
+ extends : .node-template
15
+ script :
16
+ - pnpm install
17
+ - pnpm spelling
18
+
19
+ e2e :
20
+ extends : .node-template
21
+ script :
22
+ - pnpm install --frozen-lockfile
23
+ - pnpm playwright:install
24
+ - pnpm test:e2e
25
+ artifacts :
26
+ when : always
27
+ paths :
28
+ - playwright-report/
29
+ expire_in : 30 days
Original file line number Diff line number Diff line change 16
16
"preview" : " nuxt preview" ,
17
17
"postinstall" : " nuxt prepare" ,
18
18
"test:e2e" : " playwright test" ,
19
- "playwright:install" : " playwright install && sudo apt-get install libatk1.0-0 libatk-bridge2.0-0 libcups2 libxkbcommon0 libatspi2.0-0 libxcomposite1 libxdamage1 libxfixes3 libxrandr2 libgbm1 "
19
+ "playwright:install" : " playwright install && playwright install-deps "
20
20
},
21
21
"dependencies" : {
22
22
"@nuxt/ui" : " 3.3.4" ,
You can’t perform that action at this time.
0 commit comments