Skip to content

Commit

Permalink
Merge pull request #278 from vincss/chore/node_20
Browse files Browse the repository at this point in the history
Chore/node 20
  • Loading branch information
vincss authored Dec 5, 2024
2 parents c9ee7d4 + e499bc2 commit 7454db0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,40 +16,40 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm run test --if-present
- name: 'Upload Artifact Windows'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: 'Binary Windows'
path: bin/mcsleepingserverstarter-win-x64.exe
- name: 'Upload Artifact Linux'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: 'Binary Linux'
path: bin/mcsleepingserverstarter-linux-x64
- name: 'Upload Artifact Linux arm64'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: 'Binary Linux arm64 (Raspberry Pi)'
path: bin/mcsleepingserverstarter-linux-arm64
- name: 'Upload Artifact MacOS (Apple Silicon)'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: 'Binary MacOS (Apple Silicon)'
path: bin/mcsleepingserverstarter-macos-arm64
- name: 'Upload Artifact MacOS (Intel)'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: 'Binary MacOS (Intel)'
path: bin/mcsleepingserverstarter-macos-x64
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
node-version: [20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm run test --if-present
- name: Save executables
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: bin
path: ./bin
Expand All @@ -40,9 +40,9 @@ jobs:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Retrieve saved executables
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: bin
path: ./bin
Expand All @@ -56,9 +56,9 @@ jobs:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Retrieve saved executables
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: bin
path: ./bin
Expand Down

0 comments on commit 7454db0

Please sign in to comment.