forked from XGovFormBuilder/digital-form-builder
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feat/OOC-4407
- Loading branch information
Showing
271 changed files
with
10,260 additions
and
2,738 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
81 changes: 81 additions & 0 deletions
81
.github/workflows/beta--lint-unit-build-and-publish-images.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
name: Beta QA | ||
on: | ||
push: | ||
branches: | ||
- beta | ||
|
||
jobs: | ||
calculate-version: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
semVer: ${{ steps.gitversion.outputs.semVer }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
branches: main | ||
|
||
- name: Install GitVersion | ||
uses: gittools/actions/gitversion/[email protected] | ||
with: | ||
versionSpec: "5.x" | ||
|
||
- name: Determine Version | ||
id: gitversion | ||
uses: gittools/actions/gitversion/[email protected] | ||
with: | ||
useConfigFile: true | ||
|
||
assign-semver: | ||
runs-on: ubuntu-latest | ||
needs: [calculate-version] | ||
env: | ||
SEMVER: ${{ needs.calculate-version.outputs.semVer }} | ||
MAJOR: ${{ needs.calculate-version.outputs.Major }} | ||
outputs: | ||
SEMVER: ${{ steps.calc-semver.outputs.semver }} | ||
steps: | ||
- run: echo $SEMVER | ||
- name: Add 3 to calculated semver | ||
run: | | ||
echo SEMVER="$((3 + MAJOR))${SEMVER:1}" >> $GITHUB_ENV | ||
- name: Set semver to output | ||
id: calc-semver | ||
run: echo "::set-output name=semver::$(echo $SEMVER)" | ||
|
||
lint-and-test: | ||
name: Workspace | ||
strategy: | ||
matrix: | ||
workspace: [model, designer, runner, submitter] | ||
uses: ./.github/workflows/lint-and-test.yml | ||
with: | ||
workspace: ${{ matrix.workspace }} | ||
|
||
build-and-publish-images: | ||
name: Build and publish | ||
needs: [calculate-version, assign-semver, lint-and-test] | ||
strategy: | ||
matrix: | ||
app: [designer, runner, submitter] | ||
uses: ./.github/workflows/build.yml | ||
secrets: inherit | ||
with: | ||
semver: ${{ needs.assign-semver.outputs.SEMVER }} | ||
publish: true | ||
app: ${{matrix.app}} | ||
|
||
tag-branch: | ||
runs-on: ubuntu-latest | ||
needs: [calculate-version, assign-semver, build-and-publish-images] | ||
env: | ||
SEMVER: ${{ needs.assign-semver.outputs.SEMVER }} | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v2 | ||
with: | ||
token: ${{ secrets.GHCR_PAT }} | ||
- name: Tag branch with run number | ||
run: | | ||
git tag ${{ env.SEMVER }} | ||
git push --tags origin HEAD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
const lib = jest.requireActual("tabbable"); | ||
const tabbable = { | ||
...lib, | ||
tabbable: (node, options) => | ||
lib.tabbable(node, { ...options, displayCheck: "none" }), | ||
focusable: (node, options) => | ||
lib.focusable(node, { ...options, displayCheck: "none" }), | ||
isFocusable: (node, options) => | ||
lib.isFocusable(node, { ...options, displayCheck: "none" }), | ||
isTabbable: (node, options) => | ||
lib.isTabbable(node, { ...options, displayCheck: "none" }), | ||
}; | ||
|
||
module.exports = tabbable; |
Oops, something went wrong.