Skip to content

Commit

Permalink
ci: update pipelines to use node18
Browse files Browse the repository at this point in the history
  • Loading branch information
drodil committed Jan 11, 2024
1 parent 1f48626 commit c3a0ec5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
node-version: [16.x, 18.x]
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -25,19 +25,20 @@ jobs:
cache: 'yarn'
- run: yarn install --immutable
- run: yarn lint:all
- run: yarn prettier:check
- run: yarn tsc
- run: yarn build

tests:
name: Tests
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x]

node-version: [16.x, 18.x]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: '0'
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
node-version: [16.x, 18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -26,7 +26,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
node-version: [16.x, 18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -45,10 +45,10 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version: 18.x
cache: 'yarn'
- run: git pull
- run: yarn
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version: 18.x
cache: 'yarn'
- run: git pull
- run: yarn
Expand All @@ -123,7 +123,7 @@ jobs:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version: 18.x
cache: 'yarn'
- run: git pull
- run: yarn
Expand All @@ -150,7 +150,7 @@ jobs:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version: 18.x
cache: 'yarn'
- run: git pull
- run: yarn
Expand All @@ -177,7 +177,7 @@ jobs:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version: 18.x
cache: 'yarn'
- run: git pull
- run: yarn
Expand Down

0 comments on commit c3a0ec5

Please sign in to comment.