-
Notifications
You must be signed in to change notification settings - Fork 95
28 lines (27 loc) · 799 Bytes
/
test.yml
File metadata and controls
28 lines (27 loc) · 799 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
name: "CI"
on:
push:
schedule:
- cron: "0 0 * * MON-FRI"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # pin@v5
- uses: pnpm/action-setup@c5ba7f7862a0f64c1b1a05fbac13e0b8e86ba08c # pin@v4
with:
version: latest
- name: Use Node.js 20.x
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # pin@v5
with:
node-version: 20.x
cache: "pnpm"
- name: Install dependencies
run: |
pnpm install --frozen-lockfile
pnpm run puppeteer-install
cd test && pnpm install --frozen-lockfile
- name: Build the extension
run: pnpm build
- name: Run tests
run: cd test && pnpm test