excalidraw/.github/workflows/changelog-check.yml

28 lines
610 B
YAML
Raw Normal View History

name: Changelog in sync for packages
on:
push:
branches:
- master
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
2020-12-14 16:49:01 +02:00
- name: Setup Node.js 14.x
uses: actions/setup-node@v1
with:
2020-12-14 16:49:01 +02:00
node-version: 14.x
- name: Install and run changelog check
run:
if [[ $GITHUB_HEAD_REF =~ dependabot || $GITHUB_HEAD_REF == "l10n_master" ]]; then
echo "Skipping running changelog check";
else
npm ci;
npm run changelog:check;
fi
env:
CI: true