build(deps-dev): bump @types/node from 20.17.6 to 20.17.8 #389
Workflow file for this run
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
name: Build Action | |
on: | |
push: | |
branches: ['**'] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# build the action | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
cache: 'npm' | |
- run: npm ci | |
- run: npm run build | |
# Verify that the dist/ is up-to-date | |
- name: Verify Action release | |
if: github.ref == 'refs/heads/main' | |
run: | | |
git_diff="$(git diff --ignore-cr-at-eol dist/)" | |
if [ -n "$git_diff" ]; then | |
echo "::error::Drift detected in dist/ directory" | |
echo "$git_diff" | |
exit 1 | |
fi |