Skip to content

Commit

Permalink
👷 Update CI actions
Browse files Browse the repository at this point in the history
  • Loading branch information
spontoreau committed Nov 21, 2024
1 parent f3c5814 commit 459a355
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
outputs:
packageVersion: ${{ steps.package_version_step.outputs.packageVersion }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: '0'
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 20.x
cache: "npm"
- name: Set package version
id: package_version_step
Expand All @@ -38,16 +38,16 @@ jobs:
env:
VERSION: ${{ needs.package-version.outputs.packageVersion }}
steps:
- uses: actions/download-artifact@v4.1.7
- uses: actions/download-artifact@v4
with:
name: mediateur-package
- name: Unpack artifact
run: |
tar zxvf mediateur-0.0.0.tgz
mv ./package/* ./
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 20.x
registry-url: 'https://registry.npmjs.org'
- name: Set version in package.json
run: |
Expand All @@ -67,7 +67,7 @@ jobs:
env:
VERSION: ${{ needs.package-version.outputs.packageVersion }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Push tag
id: tag_version
uses: mathieudutour/[email protected]
Expand All @@ -90,16 +90,16 @@ jobs:
env:
VERSION: ${{ needs.package-version.outputs.packageVersion }}
steps:
- uses: actions/download-artifact@v4.1.7
- uses: actions/download-artifact@v4
with:
name: mediateur-package
- name: Unpack artifact
run: |
tar zxvf mediateur-0.0.0.tgz
mv ./package/* ./
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 20.x
registry-url: 'https://registry.npmjs.org'
- name: Set version in package.json
run: |
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/shared-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ 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: 18.x
node-version: 20.x
cache: "npm"
- run: npm ci

Expand All @@ -22,10 +22,10 @@ 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: 18.x
node-version: 20.x
cache: "npm"
- run: npm ci

Expand All @@ -35,7 +35,7 @@ jobs:
- name: Pack
run: npm pack

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: mediateur-package
path: mediateur-0.0.0.tgz
Expand All @@ -44,10 +44,10 @@ 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: 18.x
node-version: 20.x
cache: "npm"
- run: npm ci

Expand Down

0 comments on commit 459a355

Please sign in to comment.