mirror of
https://github.com/docker/actions-toolkit.git
synced 2024-11-23 19:56:09 +08:00
40 lines
718 B
YAML
40 lines
718 B
YAML
|
name: e2e
|
||
|
|
||
|
on:
|
||
|
workflow_dispatch:
|
||
|
push:
|
||
|
branches:
|
||
|
- 'main'
|
||
|
pull_request:
|
||
|
paths-ignore:
|
||
|
- '.github/buildx-releases.json'
|
||
|
|
||
|
jobs:
|
||
|
test:
|
||
|
runs-on: ${{ matrix.os }}
|
||
|
strategy:
|
||
|
fail-fast: false
|
||
|
matrix:
|
||
|
os:
|
||
|
#- ubuntu-latest
|
||
|
- macos-latest
|
||
|
- windows-latest
|
||
|
steps:
|
||
|
-
|
||
|
name: Checkout
|
||
|
uses: actions/checkout@v3
|
||
|
-
|
||
|
name: Setup Node
|
||
|
uses: actions/setup-node@v3
|
||
|
with:
|
||
|
node-version: 16
|
||
|
cache: 'yarn'
|
||
|
-
|
||
|
name: Install
|
||
|
run: yarn install
|
||
|
-
|
||
|
name: Test
|
||
|
run: yarn test:e2e
|
||
|
env:
|
||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|