Update verify.yml (#1996)
This commit is contained in:
parent
c8052af068
commit
649bcc6320
1 changed files with 15 additions and 15 deletions
30
.github/workflows/verify.yml
vendored
30
.github/workflows/verify.yml
vendored
|
|
@ -3,23 +3,18 @@ name: Verify changes
|
||||||
on: pull_request
|
on: pull_request
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
init:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout Repo
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
- uses: google/wireit@setup-github-actions-caching/v1
|
|
||||||
|
|
||||||
verify:
|
verify:
|
||||||
name: Verify changes
|
name: Verify changes
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: init
|
|
||||||
steps:
|
steps:
|
||||||
|
- uses: google/wireit@setup-github-actions-caching/v1
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Sanity check
|
- name: Sanity check
|
||||||
run: node ./scripts/lock-scan.js
|
run: node ./scripts/lock-scan.js
|
||||||
|
|
||||||
- name: Setup Node 16.x
|
- name: Setup Node 16.x
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 16.x
|
node-version: 16.x
|
||||||
|
|
||||||
|
|
@ -35,10 +30,12 @@ jobs:
|
||||||
browser-tests:
|
browser-tests:
|
||||||
name: Browser tests
|
name: Browser tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: init
|
|
||||||
steps:
|
steps:
|
||||||
|
- uses: google/wireit@setup-github-actions-caching/v1
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Setup Node 16.x
|
- name: Setup Node 16.x
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 16.x
|
node-version: 16.x
|
||||||
|
|
||||||
|
|
@ -52,15 +49,17 @@ jobs:
|
||||||
|
|
||||||
node-tests:
|
node-tests:
|
||||||
name: Node tests
|
name: Node tests
|
||||||
needs: init
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [16.x]
|
node-version: [16.x]
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
steps:
|
steps:
|
||||||
|
- uses: google/wireit@setup-github-actions-caching/v1
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Setup Node ${{ matrix.node-version }}
|
- name: Setup Node ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
|
|
@ -79,10 +78,11 @@ jobs:
|
||||||
node-version: [16.x]
|
node-version: [16.x]
|
||||||
os: [windows-latest]
|
os: [windows-latest]
|
||||||
steps:
|
steps:
|
||||||
- needs: init
|
- uses: google/wireit@setup-github-actions-caching/v1
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Setup Node ${{ matrix.node-version }}
|
- name: Setup Node ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue