mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
Updated pr status check gh action config
This commit is contained in:
parent
cce38fec6d
commit
7d45c6ad8f
36
.github/workflows/status.yml
vendored
36
.github/workflows/status.yml
vendored
|
@ -9,18 +9,24 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [16.x]
|
node-version: [16.x]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
# Checkout the head ref instead of the PR branch that github creates.
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
ref: ${{ github.head_ref }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
uses: actions/setup-node@v1
|
||||||
uses: actions/setup-node@v1
|
with:
|
||||||
with:
|
node-version: ${{ matrix.node-version }}
|
||||||
node-version: ${{ matrix.node-version }}
|
- name: Use Cache
|
||||||
- name: Install and build
|
uses: actions/cache@v2
|
||||||
run: |
|
with:
|
||||||
npm install
|
path: |
|
||||||
- name: Run status checks
|
node_modules
|
||||||
run: node ./status-checks
|
*/*/node_modules
|
||||||
env:
|
key: ${{ runner.os }}-${{ matrix.node_version }}-${{ hashFiles('**/package-lock.json') }}
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
- name: Install and build
|
||||||
|
run: |
|
||||||
|
npm install
|
||||||
|
- name: Run status checks
|
||||||
|
run: node ./status-checks
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user