Skip to content

Commit

Permalink
Fix Javascript build script
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit74 committed May 24, 2024
1 parent b8b3a48 commit 12c808f
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
id-token: write # mandatory for PyPI trusted publishing

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version-file: pyproject.toml
architecture: x64
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/PublishDockerDevImage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ on:
push:
branches:
- main
- test-build

jobs:
publish:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Build Javascript wombatSetup.js
uses: addnab/docker-run-action@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/QA.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version-file: pyproject.toml
architecture: x64
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/TestWebsite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Build and push Docker image
uses: openzim/docker-publish-action@v10
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/Tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version-file: pyproject.toml
architecture: x64
Expand All @@ -31,7 +31,7 @@ jobs:
run: inv coverage --args "-vvv"

- name: Upload coverage report to codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}

Expand All @@ -51,10 +51,10 @@ jobs:
build_python:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version-file: pyproject.toml
architecture: x64
Expand All @@ -75,7 +75,7 @@ jobs:
build_docker:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Ensure we can build the Docker image
run: |
Expand Down
2 changes: 2 additions & 0 deletions build_js.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ python3 -m venv /local

cd /src/javascript

yarn install

OUTPUT_DIR=/output yarn build-prod

0 comments on commit 12c808f

Please sign in to comment.