Skip to content

chore: update a bunch of stuff #1033

chore: update a bunch of stuff

chore: update a bunch of stuff #1033

Workflow file for this run

name: main
on:
pull_request:
branches: '**'
push:
branches: '**'
jobs:
# for branches, we only need to check Linux + Node LTS
# note that we do linting here, but not on Windows / MacOS (no need to)
linux-and-lts:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [14.x]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- uses: bahmutov/npm-install@v1
- run: yarn playwright install-deps chromium
- run: yarn build
- run: yarn build:es
- run: yarn build:all
- run: yarn lint
- run: xvfb-run yarn test --coverage --testTimeout 20000
env: { CI: 1 }
if: matrix.os == 'ubuntu-latest'
- run: yarn test --coverage --testTimeout 20000
env: { CI: 1 }
if: matrix.os != 'ubuntu-latest'
# sanity check that plugins made a file without needing to loadConfig
- run: yarn --cwd ./examples/rollup-project start
- run: yarn --cwd ./examples/esbuild-project start
- uses: codecov/codecov-action@v1
if: matrix.os == 'ubuntu-latest'
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: |
./app-config-cli/coverage/coverage-final.json,
./app-config-config/coverage/coverage-final.json,
./app-config-core/coverage/coverage-final.json,
./app-config-cypress/coverage/coverage-final.json,
./app-config-default-extensions/coverage/coverage-final.json,
./app-config-encryption/coverage/coverage-final.json,
./app-config-exec/coverage/coverage-final.json,
./app-config-extension-utils/coverage/coverage-final.json,
./app-config-extensions/coverage/coverage-final.json,
./app-config-generate/coverage/coverage-final.json,
./app-config-git/coverage/coverage-final.json,
./app-config-inject/coverage/coverage-final.json,
./app-config-js/coverage/coverage-final.json,
./app-config-logging/coverage/coverage-final.json,
./app-config-main/coverage/coverage-final.json,
./app-config-meta/coverage/coverage-final.json,
./app-config-node/coverage/coverage-final.json,
./app-config-schema/coverage/coverage-final.json,
./app-config-settings/coverage/coverage-final.json,
./app-config-utils/coverage/coverage-final.json,
./app-config-v1-compat/coverage/coverage-final.json,
./app-config-vault/coverage/coverage-final.json,
./app-config-webpack/coverage/coverage-final.json,
./app-config-rollup/coverage/coverage-final.json,
./app-config-vite/coverage/coverage-final.json,
./app-config-electron/coverage/coverage-final.json,
fail_ci_if_error: true
verbose: true