Skip to content

Commit

Permalink
Merge pull request #130 from qld-gov-au/develop
Browse files Browse the repository at this point in the history
form.io 8.1.0 upgrade
  • Loading branch information
duttonw authored Aug 8, 2023
2 parents 5575106 + af8cde9 commit 409c927
Show file tree
Hide file tree
Showing 38 changed files with 8,995 additions and 6,513 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/compile.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,20 @@ jobs:
set -x
cp -r ./binary-repo/* ./dist
- name: "Set environment variables if TARGET_REPO and/or TARGET_CDN_REPO exists"
id: set-TARGET_REPO-exists
run: |
if [ -n "${{ secrets.TARGET_REPO }}" ]; then
echo "TARGET_REPO=true" >> $GITHUB_ENV
else
echo "TARGET_REPO=false" >> $GITHUB_ENV
fi
if [ -n "${{ secrets.TARGET_CDN_REPO }}" ]; then
echo "TARGET_CDN_REPO=true" >> $GITHUB_ENV
else
echo "TARGET_CDN_REPO=false" >> $GITHUB_ENV
fi
- name: Publish
uses: qld-gov-au/gha-publish-to-git@master
with:
Expand All @@ -130,7 +144,7 @@ jobs:
github_pat: '${{ secrets.GH_PAT }}'
source_folder: dist
tag_branch: main
if: ${{ success() && ( github.actor != 'dependabot[bot]' ) && env.repository != '' }}
if: ${{ success() && env.TARGET_REPO == 'true' }}

- name: Publish to formio-qld-cdn
uses: qld-gov-au/gha-cdn-version-tree-by-tag-builder@main
Expand All @@ -142,7 +156,7 @@ jobs:
github_token: '${{ secrets.GH_TOKEN }}'
github_pat: '${{ secrets.GH_PAT }}'
source_folder: dist
if: ${{ success() && ( github.actor != 'dependabot[bot]' ) && env.repository != '' }}
if: ${{ success() && env.TARGET_CDN_REPO == 'True' }}



2 changes: 1 addition & 1 deletion .github/workflows/storybook-deploy.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '16' ]
node: [ '18' ]
name: Deploy with Node ${{ matrix.node }}
# if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
Expand Down
6 changes: 6 additions & 0 deletions .github/workspace/formiojs/npm
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh
export PATH="$PWD/node/":$PATH
node -v
npm -v
$PWD/node/npm "$@"
##node "node/node_modules/npm/bin/npm-cli.js" "$@"
6 changes: 6 additions & 0 deletions .github/workspace/formiojs/npx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh
export PATH="$PWD/node/":$PATH
node -v
npx -v
$PWD/node/npx "$@"

Loading

0 comments on commit 409c927

Please sign in to comment.