From 3e794517b64d519938e5dac886760258bc0164ae Mon Sep 17 00:00:00 2001 From: Hugh Nimmo-Smith Date: Mon, 9 Oct 2023 13:28:11 +0100 Subject: [PATCH] Only build syn2mas during CI phase --- .github/workflows/build.yaml | 13 ------------- .github/workflows/ci.yaml | 10 +++++++--- 2 files changed, 7 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 43e5eada4..c5c1706ef 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -81,19 +81,6 @@ jobs: working-directory: ./frontend run: npm run build - - name: Install syn2mas Node - uses: actions/setup-node@v3.8.1 - with: - node-version-file: ./tools/syn2mas/.nvmrc - - - name: Install syn2mas Node dependencies - working-directory: ./tools/syn2mas - run: npm ci - - - name: Build syn2mas - working-directory: ./tools/syn2mas - run: npm run build - - name: Build policies working-directory: ./policies run: make diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5b18ca032..94a64f256 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -281,8 +281,8 @@ jobs: run: | cargo test --workspace - syn2mas-lint: - name: Check syn2mas style + syn2mas: + name: Check syn2mas runs-on: ubuntu-latest permissions: @@ -305,6 +305,10 @@ jobs: working-directory: ./tools/syn2mas run: npm run lint + - name: Build + working-directory: ./tools/syn2mas + run: npm run build + tests-done: name: Tests done if: ${{ always() }} @@ -317,7 +321,7 @@ jobs: - clippy - check-schema - test - - syn2mas-lint + - syn2mas runs-on: ubuntu-latest steps: