[cocos] Add options.skipBuiltinTransformers to skip the builtin transforms. #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
- release-* | |
pull_request: | |
branches: | |
- main | |
- release-* | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# Test the latest version of Node.js plus the last two LTS versions. | |
node-version: | |
- "*" | |
- lts/* | |
- lts/-1 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use node version ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
check-latest: true | |
- run: npm ci | |
- name: Tests | |
run: npm test | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "*" | |
check-latest: true | |
- run: npm ci | |
- name: Linter | |
run: npm run lint | |
browser-integration: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "*" | |
check-latest: true | |
- run: npm ci | |
- name: Adding playwright | |
run: npm install --no-save --no-package-lock playwright | |
- name: Build local | |
run: | | |
gulp -v | |
npx gulp -v | |
cat node_modules/mkdirp/package.json | grep version | |
npx gulp local | |
- name: Validate the browser can import TypeScript | |
run: npx gulp test-browser-integration | |
misc: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "*" | |
check-latest: true | |
- run: npm ci | |
- name: Build scripts | |
run: gulp scripts | |
- name: ESLint tests | |
run: gulp run-eslint-rules-tests |