We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db3be95 commit 0ad6076Copy full SHA for 0ad6076
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,26 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ pull_request:
6
+ branches: [main]
7
8
+jobs:
9
+ verify-dist:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v4
13
+ - uses: docker/setup-buildx-action@v3
14
+ - uses: ./
15
+ with:
16
+ volumes: |
17
+ node_modules: ${{ hashFiles('package-lock.json') }}
18
+ - run: bin/setup
19
+ - run: bin/npm run build
20
+ - name: Check for uncommitted changes
21
+ run: |
22
+ if [ -n "$(git status --porcelain dist/)" ]; then
23
+ echo "::error::dist/ is out of date. Run 'npm run build' and commit the changes."
24
+ git diff dist/
25
+ exit 1
26
+ fi
0 commit comments