Skip to content

Commit

Permalink
Adding CI
Browse files Browse the repository at this point in the history
  • Loading branch information
PABERTHIER committed Feb 22, 2024
1 parent 6b0f0e1 commit 5a587a3
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: CI

on:
push:
branches:
- '*'
pull_request:
branches:
- '*'

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20'

- name: Display Node.js version
run: node --version

- name: Install Yarn
run: npm install -g yarn

- name: Install dependencies
run: yarn install

- name: Build application
run: yarn build

- name: Run tests
run: yarn test

0 comments on commit 5a587a3

Please sign in to comment.