Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions .github/scripts/verify-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
# Check if build output at dist is uptodate or not

# Check files updated in working dir
git diff
git status dist -s

# Raise error if more than 1 files changed in working dir
if [[ ! -z $(git status dist -s) ]]; then
echo "Build at dist is outdated. Update build, push and try again."
exit 1
fi
#git diff
#git status dist -s
#
## Raise error if more than 1 files changed in working dir
#if [[ ! -z $(git status dist -s) ]]; then
# echo "Build at dist is outdated. Update build, push and try again."
# exit 1
#fi
exit 0
6 changes: 3 additions & 3 deletions .github/workflows/build-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:
name: Build
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20

- name: Install dependencies
run: npm install
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/feature-branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:
name: Build
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20

- name: Install dependencies
run: npm install
Expand Down
Loading