Skip to content

Commit 12e73ba

Browse files
authored
chore: add ci
1 parent 9d15319 commit 12e73ba

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/superdiff.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Superdiff CI
2+
3+
on:
4+
push:
5+
branches: ["master"]
6+
pull_request:
7+
branches: ["master"]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
matrix:
15+
node-version: [16.x, 18.x]
16+
17+
steps:
18+
- uses: actions/checkout@v3
19+
- name: Use Node.js ${{ matrix.node-version }}
20+
uses: actions/setup-node@v3
21+
with:
22+
node-version: ${{ matrix.node-version }}
23+
cache: "yarn"
24+
- name: Install dependencies
25+
uses: borales/actions-yarn@v4
26+
with:
27+
cmd: install
28+
- name: Build app
29+
uses: borales/actions-yarn@v4
30+
with:
31+
cmd: build
32+
- name: Test app
33+
uses: borales/actions-yarn@v4
34+
with:
35+
cmd: test

0 commit comments

Comments
 (0)