Skip to content

Merge pull request #148 from chrispy-snps/chrispy/com.synopsys.mapref… #144

Merge pull request #148 from chrispy-snps/chrispy/com.synopsys.mapref…

Merge pull request #148 from chrispy-snps/chrispy/com.synopsys.mapref… #144

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
path: 'head'
- uses: actions/checkout@v2
with:
repository: ${{ github.repository }}
ref: ${{ github.base_ref }}
path: 'base'
- uses: actions/setup-node@v2
with:
node-version: '14.16'
- name: Install
run: |
npm --prefix head/.github ci
- name: Show GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Test
run: |
node head/.github/validate.js
env:
HEAD_SHA: ${{ github.event.after }}
BASE_SHA: ${{ github.event.pull_request.base.sha }}
API_URL: https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/files