Skip to content

Commit

Permalink
package-lock.json
Browse files Browse the repository at this point in the history
  • Loading branch information
bourgeoa committed Feb 4, 2025
2 parents e56ce8b + d967279 commit 585031b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 13 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
strategy:
matrix:
node-version:
- 16.x
- 18.x
- 20.x

steps:
- uses: actions/checkout@v2
Expand All @@ -34,8 +34,8 @@ jobs:
- run: npm test
- run: npm run build --if-present
- name: Save build
if: matrix.node-version == '16.x'
uses: actions/upload-artifact@v2
if: matrix.node-version == '18.x'
uses: actions/upload-artifact@v4
with:
name: build
path: |
Expand All @@ -47,12 +47,12 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: build
- uses: actions/setup-node@v1
with:
node-version: 16.x
node-version: 18.x
- uses: rlespinasse/[email protected]
- name: Append commit hash to package version
run: 'sed -i -E "s/(\"version\": *\"[^\"]+)/\1-${GITHUB_SHA_SHORT}/" package.json'
Expand All @@ -68,12 +68,12 @@ jobs:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: build
- uses: actions/setup-node@v1
with:
node-version: 16.x
node-version: 18.x
- name: Disable pre- and post-publish actions
run: 'sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
- uses: JS-DevTools/npm-publish@v1
Expand Down
18 changes: 12 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 585031b

Please sign in to comment.