-
Notifications
You must be signed in to change notification settings - Fork 14
33 lines (33 loc) · 1.07 KB
/
pr-checks.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Pull Request Automated Checks
on:
pull_request:
branches:
- master
- alpha
- beta
jobs:
tests:
runs-on: ubuntu-20.04
steps:
- uses: yandex-cloud/nodejs-sdk/.github/actions/checkout-and-install-node@9fc72bb2948886090f84c9236580fbca480bdea7
- run: npm run test
check-endpoints:
runs-on: ubuntu-20.04
# Currently, the check-endpoints script fails on the master branch.
# So we need to continue on error.
continue-on-error: true
steps:
- uses: yandex-cloud/nodejs-sdk/.github/actions/checkout-and-install-node@9fc72bb2948886090f84c9236580fbca480bdea7
with:
submodules: recursive
- run: npm run check-endpoints
lint:
runs-on: ubuntu-20.04
steps:
- uses: yandex-cloud/nodejs-sdk/.github/actions/checkout-and-install-node@9fc72bb2948886090f84c9236580fbca480bdea7
- run: npm run lint
build:
runs-on: ubuntu-20.04
steps:
- uses: yandex-cloud/nodejs-sdk/.github/actions/checkout-and-install-node@9fc72bb2948886090f84c9236580fbca480bdea7
- run: npm run build