Skip to content

Commit

Permalink
Merge pull request #766 from Quramy/upgrade_node_version
Browse files Browse the repository at this point in the history
chore: Upgrade CI Node.js version
  • Loading branch information
Quramy committed Mar 4, 2024
2 parents 285eeea + 8164d1a commit 5288b00
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Expand Up @@ -12,14 +12,15 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [20.x]

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Install dependencies
run: npm ci
- name: Compile
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/deploy-playground.yml
Expand Up @@ -10,14 +10,15 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [20.x]

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Build Playground
run: |
git config --global user.email "yosuke.kurami@gmai.com"
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Expand Up @@ -8,14 +8,15 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [20.x]

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: npm publish
run: |
echo "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" > ~/.npmrc
Expand Down

0 comments on commit 5288b00

Please sign in to comment.