Skip to content

Commit 0297bb4

Browse files
authored
Ta i bruk global setup yarnrc action (#6904)
* ta i bruk global setup yarnrc config * fix path til action * bytt til sha for å teste mot branch * bytt til action versjon til main
1 parent c899a74 commit 0297bb4

File tree

4 files changed

+5
-21
lines changed

4 files changed

+5
-21
lines changed

.github/actions/setup-yarnrc/action.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
with:
5858
ref: ${{ (inputs.branch != '' && inputs.branch) || '' }}
5959

60-
- uses: ./.github/actions/setup-yarnrc
60+
- uses: navikt/fp-gha-workflows/.github/actions/setup-yarnrc@main
6161
with:
6262
npmAuthToken: ${{ secrets.READER_TOKEN }}
6363

.github/workflows/deploy-storybook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
restore-keys: |
2828
${{ runner.os }}-turbo-
2929
30-
- uses: ./.github/actions/setup-yarnrc
30+
- uses: navikt/fp-gha-workflows/.github/actions/setup-yarnrc@main
3131
with:
3232
npmAuthToken: ${{ secrets.READER_TOKEN }}
3333

.github/workflows/valider-pull-request.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Valider pull request
2-
on: [pull_request]
2+
on: [ pull_request ]
33
jobs:
44
valid-pull-request:
55
name: Valider pull request
@@ -8,7 +8,7 @@ jobs:
88
steps:
99
- uses: actions/checkout@v5
1010

11-
- uses: ./.github/actions/setup-yarnrc
11+
- uses: navikt/fp-gha-workflows/.github/actions/setup-yarnrc@main
1212
with:
1313
npmAuthToken: ${{ secrets.READER_TOKEN }}
1414

@@ -40,7 +40,7 @@ jobs:
4040
steps:
4141
- uses: actions/checkout@v5
4242

43-
- uses: ./.github/actions/setup-yarnrc
43+
- uses: navikt/fp-gha-workflows/.github/actions/setup-yarnrc@main
4444
with:
4545
npmAuthToken: ${{ secrets.READER_TOKEN }}
4646

0 commit comments

Comments
 (0)