-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (34 loc) · 1.01 KB
/
build-and-test.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
name: Build app and run tests
on:
pull_request:
branches: [ '**' ]
concurrency:
# Cancel in progress runs for this branch
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: latest
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
with:
version: 8
- name: Install Dependencies
run: pnpm install
shell: sh
- name: Build Application
run: pnpm run build
shell: sh
- name: Run Tests
run: pnpm run test.docker.ci
shell: sh
- uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30