mirror of
https://github.com/directus/directus.git
synced 2026-01-30 10:07:56 -05:00
* Enable end-to-end tests for Oracle and SQLite * Add Oracle back to allVendors * Use yum * Use dnf * Actually use yum * Actually use dnf * Actually use yum * Try again * Try manual install * Fix env declaration * Bump knex version (because https://github.com/knex/knex/issues/4844) * Set max pool size for Oracle * Add awaitDatabaseConnection * Cache install and build step * Run different tests sequentially * Fix workflow name * Show test results * Fix names * Fix success check * Fix outputs * Add oracle driver install * Fix env * Revert to previous structure to benchmark performance * Only build specs and drive packages for unit tests * Don't install everything to run linters * Use this branch * Fix missing lint dep * Revert "Don't install everything to run linters", also build shared package * Skip app build for tests * Don't serve app for e2e tests * Change time fields to timestamp becaues of inconsistencies between vendors * Make npm ci faster Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
30 lines
556 B
YAML
30 lines
556 B
YAML
name: Lint
|
|
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
should_skip:
|
|
required: false
|
|
type: string
|
|
|
|
jobs:
|
|
lint:
|
|
name: Lint
|
|
if: inputs.should_skip != 'true'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v2
|
|
with:
|
|
node-version: '16'
|
|
cache: npm
|
|
|
|
- name: Install dependencies
|
|
run: npm ci --workspaces=false --prefer-offline
|
|
|
|
- name: Run linters
|
|
run: npm run lint
|