Skip to content

Commit

Permalink
Adds an action to check built script is latest or not
Browse files Browse the repository at this point in the history
  • Loading branch information
satoryu committed Jan 2, 2025
1 parent b63c442 commit cac1479
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
on: [push]

jobs:
check:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '20'
- run: npm install
- run: npm run build
- shell: bash
run: |
if [[ "$(git status --porcelain)" != "" ]]; then
git status
echo "::error::Unstaged changes detected."
fi

0 comments on commit cac1479

Please sign in to comment.