Skip to content

Adopt eslint-plugin-import-x to fix resolver loading (/typescript + /legacy) #53

Adopt eslint-plugin-import-x to fix resolver loading (/typescript + /legacy)

Adopt eslint-plugin-import-x to fix resolver loading (/typescript + /legacy) #53

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v6
- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: 24.x
cache: 'npm'
registry-url: 'https://registry.npmjs.org/'
- name: Install Dependencies
run: npm ci
- name: Build PlayCanvas ESLint Config
run: npm run build
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v6
- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: 24.x
cache: 'npm'
registry-url: 'https://registry.npmjs.org/'
- name: Install Dependencies
run: npm ci
- name: Run ESLint
run: npm run lint
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v6
- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: 24.x
cache: 'npm'
registry-url: 'https://registry.npmjs.org/'
- name: Install Dependencies
run: npm ci
- name: Build PlayCanvas ESLint Config
run: npm run build
- name: Clean-room install and load every entry point
run: npm test