2022-02-17 14:52:46 +00:00
|
|
|
name: "pr-platform"
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
pull_request:
|
|
|
|
types: [ labeled ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
e2e-full:
|
|
|
|
if: ${{ github.event.label.name == 'pr:platform' }}
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
os:
|
|
|
|
- ubuntu-latest
|
|
|
|
- macos-latest
|
|
|
|
- windows-latest
|
|
|
|
node_version:
|
|
|
|
- 16
|
2022-04-19 22:05:08 +00:00
|
|
|
- 18
|
2022-02-17 14:52:46 +00:00
|
|
|
architecture:
|
|
|
|
- x64
|
|
|
|
name: Node ${{ matrix.node_version }} - ${{ matrix.architecture }} on ${{ matrix.os }}
|
|
|
|
steps:
|
2022-03-02 17:59:13 +00:00
|
|
|
- uses: actions/checkout@v3
|
2022-02-17 14:52:46 +00:00
|
|
|
- name: Setup node
|
2022-03-08 02:33:18 +00:00
|
|
|
uses: actions/setup-node@v3
|
2022-02-17 14:52:46 +00:00
|
|
|
with:
|
|
|
|
node-version: ${{ matrix.node_version }}
|
|
|
|
architecture: ${{ matrix.architecture }}
|
|
|
|
- run: npm install
|
|
|
|
- run: npm test
|
2022-03-03 22:07:54 +00:00
|
|
|
- run: npm run lint -- --quiet
|