From 5c34552d540e1bddff36929d445afb323d2717c6 Mon Sep 17 00:00:00 2001 From: Eugen Ciur Date: Thu, 4 Jul 2024 07:37:29 +0200 Subject: [PATCH] try again --- .github/workflows/ui-linting.yml | 24 ------------------------ .github/workflows/ui.yml | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 24 deletions(-) delete mode 100644 .github/workflows/ui-linting.yml create mode 100644 .github/workflows/ui.yml diff --git a/.github/workflows/ui-linting.yml b/.github/workflows/ui-linting.yml deleted file mode 100644 index 9e54d639b..000000000 --- a/.github/workflows/ui-linting.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: UI Linting - -on: - workflow_dispatch: - - push: - paths: - - 'ui2/**' - - '.github/workflows/ui-linting.yml' - -jobs: - ui-linting: - runs-on: ubuntu-latest - defaults: - run: - working-directory: ./ui2 - steps: - - uses: actions/checkout@v4 - - name: Install modules - run: | - yarn i - - name: Run linting - run: | - yarn exec tsc \ No newline at end of file diff --git a/.github/workflows/ui.yml b/.github/workflows/ui.yml new file mode 100644 index 000000000..db9c97d4f --- /dev/null +++ b/.github/workflows/ui.yml @@ -0,0 +1,30 @@ +name: UI build + +on: + workflow_dispatch: + + push: + paths: + - 'ui2/**' + - '.github/workflows/ui-linting.yml' + +jobs: + ui: + runs-on: ubuntu-latest + defaults: + run: + working-directory: ./ui2 + steps: + - uses: actions/checkout@v4 + - name: Set Node.js 20.x + uses: actions/setup-node@v4 + with: + node-version: 20.x + - name: Run install + uses: borales/actions-yarn@v4 + with: + cmd: install # will run `yarn install` command + - name: Run tsc + uses: borales/actions-yarn@v4 + with: + cmd: build # runs tsc & vite build