Skip to content

Commit

Permalink
Merge pull request #364 from hypermodules/dependabot/github_actions/a…
Browse files Browse the repository at this point in the history
…ctions/upload-artifact-4

Bump actions/upload-artifact from 3 to 4
  • Loading branch information
bcomnes authored Dec 17, 2023
2 parents 26707db + 5eb9b49 commit 4e28295
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
required: true

env:
node_version: '19'
node_version: 'lts/*'
FORCE_COLOR: 1

concurrency: # prevent concurrent releases
Expand Down Expand Up @@ -43,9 +43,9 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_cmd: npm run release
- name: Archive lockfile
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: pacakge-lock.json
name: pacakge-lock-version-and-release.json
path: package-lock.json


Expand Down Expand Up @@ -74,8 +74,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # built in actions token. Passed tp gh-release if in use.
- name: Archive lockfile
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: pacakge-lock.json
name: pacakge-lock-${{ matrix.os }}.json
path: package-lock.json

10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on: [pull_request, push]

env:
FORCE_COLOR: 1
node_version: 'lts/*'

jobs:
test:
Expand All @@ -12,21 +13,20 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node: ['19']

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
- name: Use Node.js ${{ env.node_version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version: ${{ env.node_version }}
- run: npm i
- run: npm test --color=always
- run: npm run build
- name: Archive lockfile
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: pacakge-lock.json
name: pacakge-lock-${{ matrix.os }}.json
path: package-lock.json


Expand Down

0 comments on commit 4e28295

Please sign in to comment.