-
Notifications
You must be signed in to change notification settings - Fork 10
40 lines (36 loc) · 987 Bytes
/
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
38
39
40
name: Adapter Tests
on:
pull_request:
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Installing Node.js
uses: actions/setup-node@v4
with:
node-version: 18
check-latest: true
- run: corepack enable
- name: Install Deno
uses: denoland/setup-deno@v1
with:
# Should satisfy the `DENO_VERSION_RANGE` from https://github.com/netlify/edge-bundler/blob/main/node/bridge.ts#L17
deno-version: v1
- name: Install
run: pnpm install
- name: Build
run: pnpm run build:packages
- name: Linting
run: pnpm run format:check
- name: Typecheck
run: pnpm run typecheck
if: always()
- name: Unit Tests
run: pnpm run test:unit
if: always()