Skip to content

Commit

Permalink
feat: checkBuild on push
Browse files Browse the repository at this point in the history
  • Loading branch information
Cleboost committed Sep 25, 2024
1 parent b511065 commit 3774d0e
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,29 @@ name: Build and Test
on:
pull_request:
branches:
- main
- main
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

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

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '22.x' # remplacez par la version de Node.js que vous utilisez
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '22.x' # remplacez par la version de Node.js que vous utilisez

- name: Install dependencies
run: npm i
- name: Install dependencies
run: npm i

- name: Run build
run: npm run build
- name: Run build
run: npm run build

#- name: Run tests
# run: npm test

0 comments on commit 3774d0e

Please sign in to comment.