Skip to content

Commit 9f59a13

Browse files
chore: fix deduplicate-yarn workflow (#314)
1 parent 7491d64 commit 9f59a13

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/deduplicate-yarn.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,17 @@ on:
55
branches:
66
- main
77
paths:
8-
- ./yarn.lock
8+
- yarn.lock
99

1010
concurrency:
1111
group: ${{ github.workflow }}-${{ github.ref }}
1212
cancel-in-progress: true
1313

14+
permissions:
15+
contents: write
16+
1417
jobs:
15-
format:
18+
deduplicate:
1619
if: github.repository == 'remix-run/examples'
1720
runs-on: ubuntu-latest
1821

@@ -26,7 +29,7 @@ jobs:
2629
node-version-file: ".nvmrc"
2730
cache: "yarn"
2831

29-
- name: ⚙️ Dedupe yarn.lock
32+
- name: ⚙️ Deduplicate yarn.lock
3033
run: npx yarn-deduplicate && rm -rf ./node_modules && yarn
3134

3235
- name: 💪 Commit

0 commit comments

Comments
 (0)