Skip to content
This repository was archived by the owner on Mar 17, 2026. It is now read-only.

Commit c33ad78

Browse files
authored
Merge pull request #33 from smartcontractkit/improve-ci
Add build step to CI
2 parents 4ef0893 + 65d56ab commit c33ad78

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
branches: [ main ]
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
16+
with:
17+
fetch-depth: 0
18+
19+
- name: Setup pnpm
20+
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
21+
with:
22+
version: 9
23+
24+
- name: Setup Node.js 20.x
25+
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
26+
with:
27+
node-version: '20.x'
28+
cache: 'pnpm'
29+
30+
- name: Install dependencies
31+
run: pnpm install --frozen-lockfile --strict-peer-dependencies
32+
shell: bash
33+
34+
- name: Build project
35+
run: pnpm run build
36+
shell: bash
37+

0 commit comments

Comments
 (0)