Skip to content

Commit

Permalink
ci: upgraded node version to v20 (#20)
Browse files Browse the repository at this point in the history
* ci: upgraded node version to v20

* ci: upgraded CI job version

* fix: removed trigger
  • Loading branch information
JinIgarashi authored Mar 25, 2024
1 parent 41574ff commit 95c5b6f
Show file tree
Hide file tree
Showing 3 changed files with 1,565 additions and 7,975 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,19 @@ name: build
on:
push:
branches: [ main ]
paths:
- "src/**"
- "tests/**"

pull_request:
paths:
- "src/**"
- "tests/**"

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: 12.x
node-version: 20.x
- run: npm ci
- name: build
run: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
# Setup .npmrc file to publish to GitHub Packages
- uses: actions/setup-node@v1
- uses: actions/setup-node@v4
with:
node-version: 12
node-version: 20
registry-url: https://registry.npmjs.org/
# Defaults to the user or organization that owns the workflow file
scope: '@watergis'
Expand All @@ -28,11 +28,11 @@ jobs:
publish-gpr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
# Setup .npmrc file to publish to GitHub Packages
- uses: actions/setup-node@v1
- uses: actions/setup-node@v4
with:
node-version: 12
node-version: 20
registry-url: https://npm.pkg.github.com/
# Defaults to the user or organization that owns the workflow file
scope: '@watergis'
Expand Down
Loading

0 comments on commit 95c5b6f

Please sign in to comment.