-
Notifications
You must be signed in to change notification settings - Fork 28
27 lines (27 loc) · 838 Bytes
/
test-main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: test-main
run-name: test-main
on: [push]
jobs:
test:
runs-on: ubuntu-latest
name: run all tests
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- run: sudo apt-add-repository ppa:ubuntugis/ubuntugis-unstable
- run: sudo apt-get update
- run: sudo apt-get install gdal-bin libgdal-dev
- run: npm install
- run: npm run lint
- run: npm run setup
# list all files in the data folder for debugging purposes
- run: find ./data
- run: npm run test
# see https://github.com/webpack/webpack/issues/14532
- run: NODE_OPTIONS=--openssl-legacy-provider npm run build
- run: npm run test-loading-builds