Skip to content

Commit 97a70cd

Browse files
committed
fix ci, pin action versions
1 parent 61607c5 commit 97a70cd

File tree

1 file changed

+22
-19
lines changed

1 file changed

+22
-19
lines changed

.github/workflows/ci.yml

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,19 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1818

19-
- uses: BeeeQueue/setup-node@corepack
19+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
2020
with:
2121
node-version: 24
22-
corepack: true
22+
23+
- run: corepack enable
2324

2425
- name: find pnpm cache path
2526
id: cache
26-
run: echo "::set-output name=path::$(pnpm store path)"
27+
run: echo "path=$(pnpm store path)" >> "$GITHUB_OUTPUT"
2728

28-
- uses: actions/cache@v4
29+
- uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4
2930
with:
3031
path: ${{ steps.cache.outputs.path }}
3132
key: v1-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
@@ -41,18 +42,19 @@ jobs:
4142
runs-on: ubuntu-latest
4243

4344
steps:
44-
- uses: actions/checkout@v3
45+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
4546

46-
- uses: BeeeQueue/setup-node@corepack
47+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
4748
with:
4849
node-version: 24
49-
corepack: true
50+
51+
- run: corepack enable
5052

5153
- name: find pnpm cache path
5254
id: cache
53-
run: echo "::set-output name=path::$(pnpm store path)"
55+
run: echo "path=$(pnpm store path)" >> "$GITHUB_OUTPUT"
5456

55-
- uses: actions/cache@v4
57+
- uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4
5658
with:
5759
path: ${{ steps.cache.outputs.path }}
5860
key: v1-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
@@ -68,18 +70,19 @@ jobs:
6870
runs-on: ubuntu-latest
6971

7072
steps:
71-
- uses: actions/checkout@v3
73+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
7274

73-
- uses: BeeeQueue/setup-node@corepack
75+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
7476
with:
7577
node-version: 24
76-
corepack: true
78+
79+
- run: corepack enable
7780

7881
- name: find pnpm cache path
7982
id: cache
80-
run: echo "::set-output name=path::$(pnpm store path)"
83+
run: echo "path=$(pnpm store path)" >> "$GITHUB_OUTPUT"
8184

82-
- uses: actions/cache@v4
85+
- uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4
8386
with:
8487
path: ${{ steps.cache.outputs.path }}
8588
key: v1-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
@@ -93,7 +96,7 @@ jobs:
9396

9497
- name: Upload artifacts
9598
if: github.ref == 'refs/heads/master'
96-
uses: actions/upload-artifact@v4
99+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
97100
with:
98101
name: dist
99102
path: dist
@@ -113,16 +116,16 @@ jobs:
113116
cancel-in-progress: true
114117

115118
steps:
116-
- uses: actions/checkout@v3
119+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
117120

118121
- name: Download artifacts
119-
uses: actions/download-artifact@v4
122+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
120123
with:
121124
name: dist
122125
path: dist
123126

124127
- name: Deploy
125-
uses: JamesIves/github-pages-deploy-action@v4
128+
uses: JamesIves/github-pages-deploy-action@6c2d9db40f9296374acc17b90404b6e8864128c8 # v4.7.3
126129
with:
127130
folder: dist
128131
silent: true

0 commit comments

Comments
 (0)