Skip to content

Commit 05992dc

Browse files
chore(ci): update pipelines
1 parent bde4851 commit 05992dc

File tree

6 files changed

+64
-115
lines changed

6 files changed

+64
-115
lines changed

.github/workflows/alpha.release.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}
1818

1919
env:
2020
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2221
NPM_CONFIG_PROVENANCE: true
2322

2423
jobs:
@@ -30,13 +29,9 @@ jobs:
3029
packages: write
3130
id-token: write
3231

33-
strategy:
34-
matrix:
35-
node-version: [20.x]
36-
3732
steps:
3833
- name: ⬇️ Checkout Repository
39-
uses: actions/checkout@v4
34+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
4035
with:
4136
fetch-depth: 0
4237

@@ -46,18 +41,18 @@ jobs:
4641
git config --global user.name "WebdriverIO Release Bot"
4742
4843
- name: 🔧 Setup pnpm
49-
uses: pnpm/action-setup@v4
44+
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
5045

5146
- name: 🔧 Setup NPM
5247
run: |
5348
npm set registry "https://registry.npmjs.org/"
5449
npm set //registry.npmjs.org/:_authToken $NPM_TOKEN
5550
npm whoami
5651
57-
- name: 🔧 Setup Node.js ${{ matrix.node-version }}
58-
uses: actions/setup-node@v4
52+
- name: 🔧 Setup Node.js
53+
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
5954
with:
60-
node-version: ${{ matrix.node-version }}
55+
node-version-file: ".nvmrc"
6156
cache: pnpm
6257

6358
- name: 🧩 Install Dependencies

.github/workflows/deploy-visual-reporter.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ jobs:
2525

2626
steps:
2727
- name: ⬇️ Checkout Repository
28-
uses: actions/checkout@v4
28+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2929

3030
- name: 📦 Setup pnpm
31-
uses: pnpm/action-setup@v4
31+
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
3232

33-
- name: 🟢 Setup Node.js ${{ matrix.node-version }}
34-
uses: actions/setup-node@v3
33+
- name: 🟢 Setup Node.js
34+
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
3535
with:
36-
node-version: ${{ matrix.node-version }}
36+
node-version-file: ".nvmrc"
3737
cache: pnpm
3838
- name: 🧩 Install Dependencies
3939
run: pnpm pnpm.install.workaround
@@ -47,13 +47,13 @@ jobs:
4747
GITHUB_PAGES: "/visual-testing/"
4848

4949
- name: ⚙️ Setup Pages
50-
uses: actions/configure-pages@v5
50+
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
5151

5252
- name: 📤 Upload artifact
53-
uses: actions/upload-pages-artifact@v3
53+
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4.0.0
5454
with:
5555
path: "packages/visual-reporter/build/client"
5656

5757
- name: 🚀 Deploy to GitHub Pages
5858
id: deployment
59-
uses: actions/deploy-pages@v4
59+
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5

.github/workflows/expense.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
authorize:
4242
runs-on: ubuntu-latest
4343
steps:
44-
- uses: octokit/request-action@v2.1.9
44+
- uses: octokit/request-action@dad4362715b7fb2ddedf9772c8670824af564f0d # v2.4.0
4545
with:
4646
route: GET /orgs/:organisation/teams/:team/memberships/${{ github.actor }}
4747
team: technical-steering-committee
@@ -56,7 +56,7 @@ jobs:
5656
runs-on: ubuntu-latest
5757
steps:
5858
- name: Run Expense Flow
59-
uses: webdriverio/expense-action@v1
59+
uses: webdriverio/expense-action@1612787adc5a33202b53c80d643258fe741bcb74 # v1.3.0
6060
with:
6161
prNumber: ${{ github.event.inputs.prNumber }}
6262
amount: ${{ github.event.inputs.amount }}

.github/workflows/release.yml

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}
66

77
env:
88
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
109
NPM_CONFIG_PROVENANCE: true
1110

1211
jobs:
@@ -19,32 +18,22 @@ jobs:
1918
id-token: write
2019
pull-requests: write
2120

22-
strategy:
23-
matrix:
24-
node-version: [20.x]
25-
2621
steps:
2722
- name: ⬇️ Checkout Repository
28-
uses: actions/checkout@v4
23+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2924

3025
- name: 🔧 Setup Git
3126
run: |
3227
git config --global user.email "[email protected]"
3328
git config --global user.name "WebdriverIO Release Bot"
3429
3530
- name: 🔧 Setup pnpm
36-
uses: pnpm/action-setup@v4
37-
38-
- name: 🔧 Setup NPM
39-
run: |
40-
npm set registry "https://registry.npmjs.org/"
41-
npm set //registry.npmjs.org/:_authToken $NPM_TOKEN
42-
npm whoami
31+
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
4332

44-
- name: 🔧 Setup Node.js ${{ matrix.node-version }}
45-
uses: actions/setup-node@v4
33+
- name: 🔧 Setup Node.js
34+
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
4635
with:
47-
node-version: ${{ matrix.node-version }}
36+
node-version-file: ".nvmrc"
4837
cache: pnpm
4938

5039
- name: 🧩 Install Dependencies
@@ -57,7 +46,7 @@ jobs:
5746
5847
- name: 📣 Create Release Pull Request or Publish to npm
5948
id: changesets
60-
uses: changesets/action@v1
49+
uses: changesets/action@e0145edc7d9d8679003495b11f87bd8ef63c0cba # v1.5.3
6150
with:
6251
# This expects you to have a script called release which does a build for your packages and calls changeset publish
6352
publish: pnpm release

0 commit comments

Comments
 (0)