forked from AxaFrance/oidc-client
-
Notifications
You must be signed in to change notification settings - Fork 0
57 lines (45 loc) · 1.32 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# CI Intergration Build and Test
name: CI
on:
push:
# branches: [ main ]
pull_request:
# branches: [ main ]
env:
PNPM_VERSION: 8.6.11
NODE_VERSION: 18
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install node.js
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: ${{ env.PNPM_VERSION }}
run_install: false
# oidc-client
- name: Install dependencies (oidc-client)
run: pnpm i --frozen-lockfile
working-directory: ./packages/oidc-client
- name: pnpm prepare (oidc-client)
run: pnpm run prepare
working-directory: ./packages/oidc-client
- name: Run test (oidc-client)
run: pnpm test -- --run
working-directory: ./packages/oidc-client
#react-oidc
- name: Install dependencies (react-oidc)
run: pnpm i --frozen-lockfile
working-directory: ./packages/react-oidc
- name: Run prepare (react-oidc)
run: pnpm run prepare
working-directory: ./packages/react-oidc
- name: Run test (react-oidc)
run: pnpm test -- --run
working-directory: ./packages/react-oidc