Skip to content

Commit 27e6f80

Browse files
Add workflow for unit tests
1 parent f916893 commit 27e6f80

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/unit-tests.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Auth-React Unit Tests
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- reopened
8+
- synchronize
9+
push:
10+
branches:
11+
- master
12+
- "v[0-9]+.[0-9]+"
13+
- "ci/github-actions/auth-react/v0.49.0" # TODO: Remove before merge
14+
tags:
15+
- "(dev-)?v[0-9]+.[0-9]+.[0-9]+"
16+
17+
jobs:
18+
unit-tests:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@v4
22+
- uses: actions/setup-node@v4
23+
with:
24+
node-version: 18
25+
- run: npm install
26+
- run: npm run test-unit

0 commit comments

Comments
 (0)