Skip to content

Commit

Permalink
Update Github Action workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
sibiraj-s committed Nov 26, 2023
1 parent ca03dce commit b0f6478
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches: master

env:
NODE_VERSION: 18
NODE_VERSION: 20

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -20,10 +20,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: npm
Expand All @@ -35,7 +35,7 @@ jobs:
run: npm run build:storybook

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v2
with:
path: ./storybook-static

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: NPM Publish

env:
NODE_VERSION: 18
NODE_VERSION: 20

on:
push:
Expand All @@ -17,9 +17,9 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
registry-url: https://registry.npmjs.org/
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Tests

env:
NODE_VERSION: 18
NODE_VERSION: 20

on:
push:
Expand All @@ -15,9 +15,9 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: npm
Expand Down

0 comments on commit b0f6478

Please sign in to comment.