Skip to content

Commit

Permalink
fix(client): ci now build the client
Browse files Browse the repository at this point in the history
  • Loading branch information
jourdain committed Nov 9, 2023
1 parent 68f20ce commit 3817804
Showing 1 changed file with 28 additions and 5 deletions.
33 changes: 28 additions & 5 deletions .github/workflows/test_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,26 @@ jobs:
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v3

test-npm-build:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Set Up Node
uses: actions/setup-node@v3
with:
node-version: 18

- name: Build Vue2/3 Components
run: |
cd vue-components
npm ci
npm run build
release:
needs: [pre-commit, pytest]
needs: [pre-commit, pytest, test-npm-build]
runs-on: ubuntu-latest
if: github.event_name == 'push'

Expand All @@ -80,11 +98,16 @@ jobs:
with:
fetch-depth: 0

- name: Install Client
- name: Set Up Node
uses: actions/setup-node@v3
with:
node-version: 18

- name: Build Vue2/3 Components
run: |
mkdir -p trame_markdown/module/serve
cd trame_markdown/module/serve
curl -L https://registry.npmjs.org/markdown-it-vue/-/markdown-it-vue-1.1.7.tgz | tar --strip-components=1 -xzv
cd vue-components
npm ci
npm run build
- name: Python Semantic Release
uses: relekang/[email protected]
Expand Down

0 comments on commit 3817804

Please sign in to comment.