Skip to content

Commit dae2668

Browse files
Add test job to GitHub Actions workflow
1 parent d1cc001 commit dae2668

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/build-test-deploy.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,15 @@ jobs:
1212
node-version: '20.x'
1313
- run: npm install
1414
- run: npm run build
15+
test:
16+
needs: build
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: checkout repo
20+
uses: actions/checkout@v4
21+
- name: Use node.js
22+
uses: actions/setup-node@v4
23+
with:
24+
node-version: '20.x'
25+
- run: npm install
26+
- run: npm test

0 commit comments

Comments
 (0)