Skip to content

Commit

Permalink
test build yml
Browse files Browse the repository at this point in the history
  • Loading branch information
HedwigO committed Dec 4, 2023
1 parent e940192 commit 98890d7
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,31 @@ on:
branches: [ "master", "workflows-action" ]

jobs:
build:
build-and-test:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
node-version: [18.x]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
- uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: |
npm i

- name: Install Dependencies
run: npm run install-deps

- name: Lint
run: npm run lint

- name: Run Tests
run: npm run test

- name: Build Frontend
run: |
cd front-end
npm i
npm run build

0 comments on commit 98890d7

Please sign in to comment.