-
Notifications
You must be signed in to change notification settings - Fork 52
37 lines (30 loc) · 941 Bytes
/
checks.yaml
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: Checks
on:
pull_request:
types: [opened, synchronize]
jobs:
checks:
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: "Use NodeJS 20"
uses: actions/setup-node@v2
with:
node-version: "20"
- uses: pnpm/action-setup@v3
with:
version: 8
- name: "Setup npm"
run: |
npm set @ponderingdemocritus:registry=https://npm.pkg.github.com/dojoengine
npm set "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}"
- name: Install dependencies
run: |
pnpm i
pnpm build
pnpm build-examples
- name: Run tests
run: pnpm test