We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf40d6f commit 2bd63e1Copy full SHA for 2bd63e1
1 file changed
.github/workflows/ci.yml
@@ -87,8 +87,29 @@ jobs:
87
node --version
88
npm --version
89
90
- - name: npm install and test
91
- run: npm cit
+ - name: npm install
+ run: npm ci
92
+ env:
93
+ CI: true
94
+ NODE_OPTIONS: ${{ matrix.node.options }}
95
+
96
+ - name: Build parser
97
+ run: npm run build
98
99
100
101
102
+ - name: Check for uncommitted changes
103
+ run: |
104
+ if ! git diff --exit-code; then
105
+ echo ""
106
+ echo "::error::Detected changes that appear to not be committed."
107
+ echo "::error::Please run 'npm run build' and commit the built parser."
108
+ exit 1
109
+ fi
110
111
+ - name: npm test
112
+ run: npm t
113
env:
114
CI: true
115
NODE_OPTIONS: ${{ matrix.node.options }}
0 commit comments