-
Notifications
You must be signed in to change notification settings - Fork 17
35 lines (35 loc) · 1.12 KB
/
pr-checks.yml
File metadata and controls
35 lines (35 loc) · 1.12 KB
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
34
35
name: Pull Request Automated Checks
on:
pull_request:
branches:
- master
- alpha
- beta
jobs:
tests:
runs-on: ubuntu-24.04
steps:
- uses: yandex-cloud/nodejs-sdk/.github/actions/checkout-and-install-node@7992e39cce119c931dab92f6879013efff123009
with:
submodules: recursive
- run: npm run test
check-endpoints:
runs-on: ubuntu-24.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@7992e39cce119c931dab92f6879013efff123009
with:
submodules: recursive
- run: npm run check-endpoints
lint:
runs-on: ubuntu-24.04
steps:
- uses: yandex-cloud/nodejs-sdk/.github/actions/checkout-and-install-node@7992e39cce119c931dab92f6879013efff123009
- run: npm run lint
build:
runs-on: ubuntu-24.04
steps:
- uses: yandex-cloud/nodejs-sdk/.github/actions/checkout-and-install-node@7992e39cce119c931dab92f6879013efff123009
- run: npm run build