Merge commit '6e92d2345e8231a44556ce7d416451f5f3e6c398' as 'engine262'

This commit is contained in:
2026-03-27 10:07:29 +05:30
433 changed files with 90478 additions and 0 deletions
+48
View File
@@ -0,0 +1,48 @@
name: test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
# Set everything up
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- uses: actions/setup-node@v4
with:
node-version: 22
# build and lint
- run: npm install
- run: npm run build
- run: npm run lint
# upload build artifacts
- uses: actions/upload-artifact@v4
with:
name: engine262-lib
path: |
lib/engine262.js
lib/engine262.js.map
lib/engine262.mjs
lib/engine262.mjs.map
# run tests/coverage
- run: npm run coverage:all
env:
CONTINUOUS_INTEGRATION: 1
NUM_WORKERS: 1
# Upload coverage data
- name: Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{github.token}}