Skip to content

Commit

Permalink
👷 Update to latest github actions versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-maertens committed Apr 26, 2024
1 parent 927ab27 commit 9c4909e
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: npm
Expand All @@ -30,7 +30,7 @@ jobs:
npm run build
- name: Store build artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build
path: lib/
Expand All @@ -41,8 +41,8 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: npm
Expand All @@ -60,14 +60,14 @@ jobs:
- build-package

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: npm

- name: Download build artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build
path: lib/
Expand All @@ -82,8 +82,8 @@ jobs:
name: Build documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: npm
Expand All @@ -94,7 +94,7 @@ jobs:
run: npm run build:docs

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
path: ./docs

Expand All @@ -115,6 +115,7 @@ jobs:
contents: read
pages: write
id-token: write
actions: read

concurrency:
group: 'github-pages' # unique builds for branch/tag name
Expand All @@ -123,10 +124,10 @@ jobs:
steps:
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v5
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4

publish:
name: Publish the NPM package
Expand All @@ -141,8 +142,8 @@ jobs:
if: startsWith(github.ref, 'refs/tags/') && github.repository_owner == 'open-formulieren'

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: npm
Expand All @@ -153,7 +154,7 @@ jobs:
run: npm ci

- name: Download build artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build
path: lib/
Expand Down

0 comments on commit 9c4909e

Please sign in to comment.