-
Notifications
You must be signed in to change notification settings - Fork 3
36 lines (34 loc) · 839 Bytes
/
test.yml
File metadata and controls
36 lines (34 loc) · 839 Bytes
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
name: test
on:
pull_request_target:
types: [opened, synchronize, reopened]
push:
schedule:
- cron: "0 16 * * *"
concurrency:
group: workflow-example-${{ github.ref }}
cancel-in-progress: true
jobs:
linux:
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.55.1-noble
options: --ipc=host
strategy:
matrix:
node-version: ["lts/jod"]
steps:
- uses: actions/checkout@v5
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v5
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install
run: pnpm install
- name: Build
run: pnpm run build
- name: Run tests
run: pnpm test