File tree 2 files changed +25
-10
lines changed
2 files changed +25
-10
lines changed Original file line number Diff line number Diff line change
1
+ name : Setup + Install
2
+ description : Run commands needed to setup yarn and install dependencies.
3
+ inputs :
4
+ npmAuthToken :
5
+ description : Token that has packages:read permission for the navikt organization
6
+ required : true
7
+
8
+ runs :
9
+ using : composite
10
+ steps :
11
+ - uses : ../setup-yarnrc
12
+ with :
13
+ npmAuthToken : ${{ inputs.npmAuthToken }}
14
+
15
+ - name : Sette opp node
16
+ uses : actions/setup-node@v4
17
+ with :
18
+ node-version : ' 18'
19
+ cache : yarn
20
+
21
+ - name : Installere dependencies
22
+ shell : bash
23
+ run : HUSKY=0 yarn install --immutable
Original file line number Diff line number Diff line change @@ -19,19 +19,11 @@ jobs:
19
19
- name : Hente kode
20
20
uses : actions/checkout@v4
21
21
22
- - uses : ./.github/actions/setup-yarnrc
22
+ - name : Setup + install
23
+ uses : ./.github/actions/setup-install
23
24
with :
24
25
npmAuthToken : ${{ secrets.READER_TOKEN }}
25
26
26
- - name : Sette opp Node
27
- uses : actions/setup-node@v4
28
- with :
29
- node-version : ' 18'
30
- cache : ' yarn'
31
-
32
- - name : Installere dependencies
33
- run : HUSKY=0 yarn install --immutable
34
-
35
27
- name : Typescript-sjekk
36
28
run : yarn ts-check
37
29
You can’t perform that action at this time.
0 commit comments