Skip to content

Commit

Permalink
chore(gh-actions): build with node 18, support until node 14
Browse files Browse the repository at this point in the history
  • Loading branch information
gtkatakura committed Apr 29, 2024
1 parent b7933a4 commit 2f2f3c3
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,13 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '14'
node-version: '18'
- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Run build
run: yarn build

- name: Run lint
run: yarn lint

Expand All @@ -33,12 +36,10 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '14'
node-version: '18'

- name: Install dependencies
run: |
yarn install --frozen-lockfile
yarn --cwd fixtures/app install --no-lockfile
run: yarn install --frozen-lockfile

- name: Verdaccio login
run: |
Expand Down Expand Up @@ -69,6 +70,13 @@ jobs:
--no-push \
--yes
- uses: actions/setup-node@v1
with:
node-version: '14'

- name: Install dependencies
run: yarn --cwd fixtures/app install --no-lockfile

- name: Install packages and run test
if: steps.changed-packages.outputs.PACKAGES
run: |
Expand Down

0 comments on commit 2f2f3c3

Please sign in to comment.