Skip to content

Commit

Permalink
[ci]: Verify that dist/index.js is correctly generated
Browse files Browse the repository at this point in the history
  • Loading branch information
PetarKirov committed Feb 9, 2021
1 parent c331127 commit 7ab9fc9
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,16 @@ jobs:

- name: Verify D compiler (dub)
run: dub run --single -q .github/hello.d

- name: Install Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: '12.x'

- name: Ensure `dist/index.js` is up to date
run: |
set -euxo pipefail
npm ci
npm run build
git diff --stat --exit-code HEAD
shell: bash

0 comments on commit 7ab9fc9

Please sign in to comment.