-
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
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@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30