Skip to content

Commit

Permalink
refactor(gitflow): update steps
Browse files Browse the repository at this point in the history
  • Loading branch information
DMBerlin committed Feb 4, 2024
1 parent 88fab95 commit 22835f6
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,28 @@ on:
branches: [ "main" ]

jobs:
ci:
name: CI - Build and Test
runs-on: ubuntu-latest
build:
runs-on: ubuntu-latest

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

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- name: Install Dependencies
run: npm ci

- name: Build
run: npm run build --if-present

- name: Test
run: npm run test

0 comments on commit 22835f6

Please sign in to comment.