Skip to content

Commit

Permalink
Update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
fveracoechea committed Apr 26, 2024
1 parent 62d0f12 commit 3c30915
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,34 @@ name: CI
on: [push]
jobs:
build:
name: Build, lint, and test on Node 18
name: Build, lint, and test on Node 20
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3

- name: Use Node 18
- name: Use Node 20
uses: actions/setup-node@v3
with:
node-version: 18.16.0
node-version: 20.x
cache: 'yarn'

- name: Install deps and build (with cache)
uses: bahmutov/npm-install@v1
- name: Run install
uses: borales/actions-yarn@v4
with:
install-command: yarn install
cmd: install

- name: Lint
run: yarn lint
uses: borales/actions-yarn@v4
with:
cmd: lint

- name: Test
run: yarn test
uses: borales/actions-yarn@v4
with:
cmd: test

- name: Build
run: yarn build
uses: borales/actions-yarn@v4
with:
cmd: Build

0 comments on commit 3c30915

Please sign in to comment.