Skip to content

Commit 262280a

Browse files
Add build workflow
Add a GitHub Actions workflow to test the generator.
1 parent 9f8d155 commit 262280a

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/build.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches: [ dev ]
6+
paths-ignore:
7+
- '**/*.gitattributes'
8+
- '**/*.gitignore'
9+
- '**/*.md'
10+
pull_request:
11+
branches: [ dev ]
12+
workflow_dispatch:
13+
14+
permissions:
15+
contents: read
16+
17+
jobs:
18+
build:
19+
name: build
20+
runs-on: ubuntu-latest
21+
22+
steps:
23+
24+
- name: Checkout code
25+
uses: actions/checkout@v3
26+
27+
- name: Setup Node
28+
uses: actions/setup-node@v3
29+
with:
30+
node-version: '16.x'
31+
32+
- name: Install packages
33+
run: |
34+
npm ci
35+
36+
- name: Test
37+
run: |
38+
npm test

0 commit comments

Comments
 (0)