mirror of
https://github.com/bendtherules/ask262.git
synced 2026-08-18 13:21:55 +00:00
Merge commit '6e92d2345e8231a44556ce7d416451f5f3e6c398' as 'engine262'
This commit is contained in:
Vendored
+48
@@ -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}}
|
||||
Reference in New Issue
Block a user