Skip to content

Fixed wrong workflow tasks order after task version update #444

Fixed wrong workflow tasks order after task version update

Fixed wrong workflow tasks order after task version update #444

Workflow file for this run

name: Lint and build
on:
push:
branches: ['main']
pull_request:
branches: ['main']
jobs:
lint_and_build:
name: 'Node ${{ matrix.node-version }}'
runs-on: ubuntu-20.04
timeout-minutes: 10
strategy:
matrix:
node-version: ['18', '20']
steps:
- name: Check out repo
uses: actions/checkout@v4
- name: Set up node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Install dependencies
run: npm install
- name: Install jschema dependencies
run: |
cd jschema
npm install
- name: Run static code analysis on jschema module
run: |
cd jschema
npx eslint .
- name: Run static code analysis
run: npx eslint .
- name: Build site
env:
FRACTAL_SERVER_HOST: http://localhost:8000
AUTH_COOKIE_NAME: fastapiusersauth
AUTH_COOKIE_SECURE: false
AUTH_COOKIE_DOMAIN:
AUTH_COOKIE_PATH: /
AUTH_COOKIE_SAME_SITE: lax
PUBLIC_OAUTH_CLIENT_NAME:
PUBLIC_FRACTAL_ADMIN_SUPPORT_EMAIL:
run: npm run build