From fdd17a2c789d0a5bc874fb0b68ac14787266a10f Mon Sep 17 00:00:00 2001 From: nncluzu Date: Fri, 5 Apr 2024 17:37:10 +0200 Subject: [PATCH] osrd-ui: build and check code --- .github/workflows/osrd-ui-build-and-check.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/osrd-ui-build-and-check.yml diff --git a/.github/workflows/osrd-ui-build-and-check.yml b/.github/workflows/osrd-ui-build-and-check.yml new file mode 100644 index 000000000..24a877779 --- /dev/null +++ b/.github/workflows/osrd-ui-build-and-check.yml @@ -0,0 +1,19 @@ +name: Build and Check Code + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: '18' + registry-url: 'https://registry.npmjs.org/' + + - run: | + npm ci + npm run build + npx prettier --check . \ No newline at end of file