adds spatialInterface APIs for communicating from footer to other ifr… #2657
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: Node.js CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Configure git | |
env: | |
TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | |
run: git config --global url."https://${TOKEN}:x-oauth-basic@github.com/".insteadOf "https://github.com/" | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Download and install supplementary addons and test data | |
run: ./scripts/ci.sh | |
- name: Run tests | |
run: npm test | |
env: | |
CI: true | |
ALLOW_SECURE_MODE: true | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: test-screenshots | |
path: screenshots/ | |
build-insecure: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Configure git | |
env: | |
TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | |
run: git config --global url."https://${TOKEN}:x-oauth-basic@github.com/".insteadOf "https://github.com/" | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Download and install supplementary addons and test data | |
run: ./scripts/ci.sh | |
- name: Run tests (http mode) | |
run: npm test | |
env: | |
CI: true | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: test-screenshots | |
path: screenshots/ | |
build-quiet: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Generate self-signed certificate | |
run: ./scripts/ci_generate_certificate.sh | |
- run: npm install | |
- run: npm run test-older | |
env: | |
CI: true |