Skip to content

Commit 663320b

Browse files
authored
Create ci.yml
1 parent d9b2abf commit 663320b

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
8+
jobs:
9+
main:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-node@v3
14+
with:
15+
node-version: 20
16+
cache: 'npm'
17+
- run: npm cache clean --force
18+
- run: npm ci
19+
- run: npm install -g @nrwl/cli
20+
- run: |
21+
npm install --save-dev @swc-node/register @swc/core \
22+
@nx/webpack webpack-cli \
23+
@nx/eslint-plugin eslint-plugin-playwright \
24+
@playwright/test jest \
25+
@nx/jest @nx/react @nx/eslint @nx/playwright
26+
- run: npx nx run-many -t build --verbose
27+
- run: npx nx run-many -t test

0 commit comments

Comments
 (0)