Skip to content

Commit

Permalink
Remove pending git step
Browse files Browse the repository at this point in the history
This has to be removed since `ncc` produces different/randomized constant output each time and will be different from upstream.
  • Loading branch information
Yakov5776 committed Aug 5, 2024
1 parent c08d09f commit ec4e342
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,16 @@ jobs:
name: Checkout

- name: Install dependencies
run: npm install && npm i -g @vercel/ncc
run: |
npm install
npm install -g @vercel/ncc
- name: Build
run: npm run build

- name: eslint
run: npx eslint

- name: Ensure no pending Git changes
run: |
GIT_STATUS=$(git status --porcelain)
if [[ -n $GIT_STATUS ]]; then
echo "There are pending Git changes after running the build. Did you forget to commit the .js files?"
echo "$GIT_STATUS"
exit 1
fi
- name: Run tests
run: npm run test

Expand Down

0 comments on commit ec4e342

Please sign in to comment.