Skip to content

Commit dc438be

Browse files
authored
Update workflow versions (#29)
1 parent 3d9ecc5 commit dc438be

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

.github/workflows/node.js.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [18.x]
19+
node-version: [22.x]
2020
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2121

2222
steps:
23-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v4
2424
- name: Use Node.js ${{ matrix.node-version }}
25-
uses: actions/setup-node@v3
25+
uses: actions/setup-node@v4
2626
with:
2727
node-version: ${{ matrix.node-version }}
2828
cache: 'npm'
2929
- run: yarn install
30-
- run: yarn test
30+
- run: yarn test

.github/workflows/npm.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
13-
- uses: actions/setup-node@v3
13+
- uses: actions/setup-node@v4
1414
with:
15-
node-version: '20.x'
15+
node-version: '22.x'
1616
registry-url: 'https://registry.npmjs.org'
1717
scope: '@diamondlightsource'
1818
- run: yarn
1919
- run: yarn build
2020
- run: yarn npm publish --access public
21-
21+

.github/workflows/storybook.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,21 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout Source
16-
uses: actions/checkout@v3.5.1
16+
uses: actions/checkout@v4
1717

1818
- name: Setup Node.js Environment
19-
uses: actions/setup-node@v3.7.0
19+
uses: actions/setup-node@v4
2020
with:
2121
cache: yarn
2222

23-
- name: Install Yarn Dependencies
23+
- name: Install Yarn Dependencies
2424
run: yarn install
2525

2626
- name: Build Storybook
2727
run: yarn build-storybook
2828

2929
- name: Upload Pages Artifact
30-
uses: actions/upload-pages-artifact@v2.0.0
30+
uses: actions/upload-pages-artifact@v4
3131
with:
3232
path: storybook-static
3333

@@ -44,4 +44,4 @@ jobs:
4444
steps:
4545
- name: Deploy to GitHub Pages
4646
id: deployment
47-
uses: actions/deploy-pages@v2.0.3
47+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)