diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0a2091ce1..8fdff1987 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,15 +9,6 @@ on: schedule: - cron: "0 12 * * *" -env: - python_bld_ver: 3.9 - ubuntu_bld: ubuntu-20.04 - mac_bld: macOS-13 - windows_bld: windows-2022 - ubuntu_test: ubuntu-latest - mac_test: macOS-latest - windows_test: windows-latest - jobs: bld: strategy: @@ -110,41 +101,41 @@ jobs: name: vis path: shared/vis/dist - # npm: - # runs-on: ${{ env.ubuntu_bld }} - # steps: - # - name: Check out repository - # uses: actions/checkout@v2 - # - name: Build npm package - # run: | - # cd shared/vis - # npm install - # npm run build-prod - # npm pack - # mkdir pkg - # cp *.tgz pkg/ - # - name: Publish npm package - # uses: actions/upload-artifact@v2 - # with: - # name: npm - # path: shared/vis/pkg + npm: + runs-on: ubuntu-20.04 + steps: + - name: Check out repository + uses: actions/checkout@v2 + - name: Build npm package + run: | + cd shared/vis + npm install + npm run build-prod + npm pack + mkdir pkg + cp *.tgz pkg/ + - name: Publish npm package + uses: actions/upload-artifact@v2 + with: + name: npm + path: shared/vis/pkg - # R: - # runs-on: ${{ env.ubuntu_bld }} - # steps: - # - name: Check out repository - # uses: actions/checkout@v2 - # - name: Build R package - # run: | - # cd R - # sudo apt --yes update - # sudo apt --yes install texlive-latex-base texlive-fonts-extra - # Rscript build.R - # - name: Display errors - # if: failure() - # run: cat bld/tmp/R/interpret.Rcheck/00install.out - # - name: Publish R package - # uses: actions/upload-artifact@v2 - # with: - # name: R - # path: bld/R + R: + runs-on: ubuntu-20.04 + steps: + - name: Check out repository + uses: actions/checkout@v2 + - name: Build R package + run: | + cd R + sudo apt --yes update + sudo apt --yes install texlive-latex-base texlive-fonts-extra + Rscript build.R + - name: Display errors + if: failure() + run: cat bld/tmp/R/interpret.Rcheck/00install.out + - name: Publish R package + uses: actions/upload-artifact@v2 + with: + name: R + path: bld/R