Skip to content

Commit

Permalink
ci: use node 22
Browse files Browse the repository at this point in the history
  • Loading branch information
bbrzoska committed Jan 24, 2025
1 parent 4497d4d commit b819091
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [20]
node: [22]
steps:
- uses: zendesk/checkout@v4
- uses: zendesk/setup-node@v4
Expand Down
15 changes: 7 additions & 8 deletions .github/workflows/publish-storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@ on:
branches:
- main
- next

workflow_dispatch:

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
group: 'pages'
cancel-in-progress: false

# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
contents: read
pages: write
id-token: write
pages: write
id-token: write

jobs:
build-storybook:
Expand All @@ -29,7 +29,7 @@ jobs:
- uses: zendesk/checkout@v4
- uses: zendesk/setup-node@v4
with:
node-version: 20
node-version: 22
scope: zendesk
always-auth: 'true'
cache: 'yarn'
Expand All @@ -41,17 +41,16 @@ jobs:
uses: actions/upload-pages-artifact@v3
with:
path: ./storybook-static

deploy:
needs: build-storybook
runs-on: ubuntu-latest

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- name: Deploy to Github Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit b819091

Please sign in to comment.