Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/publish.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ jobs:
node-version: lts/*
- run: npm install --no-package-lock
name: Install dev dependencies
- name: Type-check atoms/src
run: npm run typecheck:atoms
- name: Rebuild atoms from atoms/src and check for drift
run: |
npm run build:atoms
if ! git diff --exit-code -- atoms; then
echo "::error::'atoms/' on master does not match what 'npm run build:atoms' produces from 'atoms/src/'. This should have been caught by the 'Verify Atoms' check on the PR — aborting release."
exit 1
fi
- run: npm run build
name: Run build
- run: npm run test
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/verify-atoms.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
name: Verify Atoms

on:
push:
paths:
- 'atoms/**'
- 'scripts/build-atoms.mjs'
- 'tsconfig.atoms.json'
- 'package.json'
pull_request:
paths:
- 'atoms/**'
Expand Down
Loading