Skip to content

Merge pull request #124 from braze-community/release-please--branches… #417

Merge pull request #124 from braze-community/release-please--branches…

Merge pull request #124 from braze-community/release-please--branches… #417

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
cache: npm
node-version-file: .nvmrc
- name: Install dependencies
run: npm ci --prefer-offline
- name: Lint JavaScript files
run: npm run build
- name: Check Git working tree
run: |
if [[ $(git diff --stat) != '' ]]; then
echo 'Detected uncommitted changes. See status below:'
git diff
exit 1
fi