Skip to content

Commit

Permalink
update dependencies and run command always (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
vchrisb authored Aug 22, 2024
1 parent 3f2da9c commit d9a4077
Show file tree
Hide file tree
Showing 7 changed files with 8,488 additions and 8,431 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,17 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- run: npm install -g @vercel/ncc
node-version: 20
- run: npm clean-install
- run: npx prettier . --check
- run: ncc build src/index.ts
- run: git diff --quiet || echo "src/index.ts not updated" && return 1
- run: npm run format-check
- run: npm run build
- name: Compare the expected and actual dist/ directories
run: |
if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then
echo "Detected uncommitted changes after build. See status below:"
git diff
exit 1
fi
login:
needs: validate
environment: dhaka
Expand Down
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ inputs:
version:
description: "cf cli version"
required: true
default: "8.7.11"
default: "8.8.0"
runs:
using: "node20"
main: "dist/index.js"
Loading

0 comments on commit d9a4077

Please sign in to comment.