mirror of
https://github.com/portainer/portainer.git
synced 2025-07-18 21:09:40 +02:00
29 lines
635 B
YAML
29 lines
635 B
YAML
name: Test
|
|
on: push
|
|
jobs:
|
|
test-client:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v2
|
|
with:
|
|
node-version: '18'
|
|
cache: 'yarn'
|
|
- run: yarn --frozen-lockfile
|
|
|
|
- name: Run tests
|
|
run: yarn jest --maxWorkers=2
|
|
# test-server:
|
|
# runs-on: ubuntu-latest
|
|
# env:
|
|
# GOPRIVATE: "github.com/portainer"
|
|
# steps:
|
|
# - uses: actions/checkout@v3
|
|
# - uses: actions/setup-go@v3
|
|
# with:
|
|
# go-version: '1.18'
|
|
# - name: Run tests
|
|
# run: |
|
|
# cd api
|
|
# go test ./...
|