Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Commit

Permalink
Only build syn2mas during CI phase
Browse files Browse the repository at this point in the history
  • Loading branch information
hughns committed Oct 9, 2023
1 parent 453cbb1 commit 740681c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 16 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,19 +82,6 @@ jobs:
working-directory: ./frontend
run: npm run build

- name: Install syn2mas Node
uses: actions/[email protected]
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
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,8 @@ jobs:
run: |
cargo test --workspace
syn2mas-lint:
name: Check syn2mas style
syn2mas:
name: Check syn2mas
runs-on: ubuntu-latest

permissions:
Expand All @@ -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() }}
Expand All @@ -317,7 +321,7 @@ jobs:
- clippy
- check-schema
- test
- syn2mas-lint
- syn2mas
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit 740681c

Please sign in to comment.