add named parameters and correct types for some natives #1825
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Validate pull request | |
on: [pull_request] | |
jobs: | |
validate: | |
runs-on: ubuntu-20.04 | |
name: Validate PR | |
steps: | |
- name: Get PR commits | |
id: 'get-pr-commits' | |
uses: tim-actions/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions/checkout@v2 | |
with: | |
path: './' | |
fetch-depth: 0 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '12' # while 14+ technically works, it's 25-50x slower at running native-doc-tooling | |
- name: Validate build | |
id: 'validate' | |
env: | |
COMMIT_LIST: ${{ steps.get-pr-commits.outputs.commits }} | |
run: | | |
set -xe | |
bash ./.ci/setup-builder | |
bash ./.ci/run-pr |