Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

Commit 571edfa

Browse files
committed
workflow
1 parent ecf2aff commit 571edfa

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/run-tests.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Run Interweb Build Tests 🧪
2+
3+
on:
4+
push:
5+
pull_request:
6+
types: [opened, synchronize, reopened]
7+
workflow_dispatch:
8+
9+
jobs:
10+
run-tests:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout Repository 📥
14+
uses: actions/checkout@v4
15+
with:
16+
submodules: 'recursive' # Ensures submodules are also checked out
17+
18+
- name: Setup Node.js 🌐
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version: '20.x'
22+
cache: 'yarn'
23+
24+
- name: Install Dependencies 🧶
25+
run: |
26+
yarn install
27+
yarn symlink
28+
29+
- name: Build Project 🏗️
30+
run: |
31+
yarn build
32+
yarn symlink
33+
34+
- name: Test @interweb/build 🔍
35+
run: cd packages/build && yarn test
36+

0 commit comments

Comments
 (0)