Skip to content

Commit e9dfb77

Browse files
Apply suggestion from @coderabbitai[bot]
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Signed-off-by: Ash Shaw <[email protected]>
1 parent b8df8f8 commit e9dfb77

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/collections-indexer.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,20 @@ on:
1212
jobs:
1313
index:
1414
runs-on: ubuntu-latest
15+
permissions:
16+
contents: read
17+
concurrency:
18+
group: collections-indexer-${{ github.ref }}
19+
cancel-in-progress: true
1520
steps:
1621
- uses: actions/checkout@v4
22+
- name: Setup Node
23+
uses: actions/setup-node@v4
24+
with:
25+
node-version: '20'
26+
- name: Install dependencies
27+
run: npm ci
1728
- name: Build index
18-
run: node scripts/build-collections-index.ts
29+
run: npx ts-node scripts/build-collections-index.ts
1930
- name: Validate references
20-
run: node scripts/build-collections-index.ts --validate
31+
run: npx ts-node scripts/build-collections-index.ts --validate

0 commit comments

Comments
 (0)