Skip to content

Commit

Permalink
chore: update ci actions
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyRH committed May 15, 2024
1 parent 959bdd0 commit 6c747ff
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
runs-on: ubuntu-latest

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

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- run: npm ci
- run: npm run build
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
runs-on: ubuntu-latest

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

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- run: |
npm ci
Expand All @@ -28,8 +28,8 @@ jobs:
npm ci
npm run build-storybook
- uses: actions/upload-pages-artifact@v1
- uses: actions/upload-pages-artifact@v3
with:
path: storybook-site/

- uses: actions/deploy-pages@v2
- uses: actions/deploy-pages@v4
11 changes: 5 additions & 6 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,18 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: google-github-actions/release-please-action@v3
- uses: googleapis/release-please-action@v4
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: node
package-name: storybook-addon-code-editor
bootstrap-sha: a42654adbf47be1bf584784bd507061f2ae75038

- uses: actions/checkout@v3
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.releases_created }}

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
if: ${{ steps.release.outputs.releases_created }}

- name: Publish to npm
Expand Down

0 comments on commit 6c747ff

Please sign in to comment.