mirror of
https://github.com/d0zingcat/ghost-docker.git
synced 2026-05-14 07:26:45 +00:00
24 lines
405 B
YAML
24 lines
405 B
YAML
name: Test
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
node: [ 16, 18 ]
|
|
env:
|
|
FORCE_COLOR: 1
|
|
name: Node ${{ matrix.node }}
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v2
|
|
with:
|
|
node-version: ${{ matrix.node }}
|
|
|
|
- run: yarn
|
|
- run: yarn test
|