2020-12-13 18:53:14 +05:30
|
|
|
name: Changelog in sync for packages
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2020-12-16 20:19:05 +05:30
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
pull_request:
|
2020-12-13 18:53:14 +05:30
|
|
|
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
|
2020-12-13 18:53:14 +05:30
|
|
|
uses: actions/setup-node@v1
|
|
|
|
with:
|
2020-12-14 16:49:01 +02:00
|
|
|
node-version: 14.x
|
2020-12-13 18:53:14 +05:30
|
|
|
- name: Install and run changelog check
|
2020-12-16 20:19:05 +05:30
|
|
|
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
|
2020-12-13 18:53:14 +05:30
|
|
|
env:
|
|
|
|
CI: true
|