-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f2b29ee
commit e0e56a1
Showing
2 changed files
with
89 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
## Link to Jira Ticket | ||
|
||
https://formio.atlassian.net/browse/FIO-XXXX | ||
|
||
## Description | ||
|
||
**What changed?** | ||
|
||
*Use this section to provide a summary description of the changes you've made* | ||
|
||
**Why have you chosen this solution?** | ||
|
||
*Use this section to justify your choices* | ||
|
||
## Breaking Changes / Backwards Compatibility | ||
|
||
*Use this section to describe any potentially breaking changes this PR introduces or any effects this PR might have on backwards compatibility* | ||
|
||
## Dependencies | ||
|
||
*Use this section to list any dependent changes/PRs in other Form.io modules* | ||
|
||
## How has this PR been tested? | ||
|
||
*Use this section to describe how you tested your changes; if you haven't included automated tests, justify your reasoning* | ||
|
||
## Checklist: | ||
|
||
- [ ] I have completed the above PR template | ||
- [ ] I have commented my code, particularly in hard-to-understand areas | ||
- [ ] I have made corresponding changes to the documentation (if applicable) | ||
- [ ] My changes generate no new warnings | ||
- [ ] My changes include tests that prove my fix is effective (or that my feature works as intended) | ||
- [ ] New and existing unit/integration tests pass locally with my changes | ||
- [ ] Any dependent changes have corresponding PRs that are listed above |
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,54 @@ | ||
name: Build | ||
|
||
on: | ||
pull_request: | ||
types: [opened, synchronize] | ||
|
||
env: | ||
NODE_VERSION: 20.x | ||
|
||
jobs: | ||
setup: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: echo "Triggered by ${{ github.event_name }} event." | ||
|
||
- name: Check out repository code ${{ github.repository }} on ${{ github.ref }} | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Node.js ${{ env.NODE_VERSION }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ env.NODE_VERSION }} | ||
cache: 'npm' | ||
|
||
- name: Install dependencies | ||
run: yarn install --frozen-lockfile | ||
|
||
- name: Cache node modules | ||
uses: actions/cache@v3 | ||
with: | ||
path: node_modules | ||
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-node- | ||
build: | ||
needs: setup | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository code ${{ github.repository }} on ${{ github.ref }} | ||
uses: actions/checkout@v3 | ||
|
||
- name: Restore node modules from cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: node_modules | ||
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-node- | ||
- name: Build | ||
uses: borales/actions-yarn@v4 | ||
with: | ||
cmd: build |