This repository has been archived by the owner on Oct 2, 2024. It is now read-only.
test charging station icon #78
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: qwant-basic-gl-style build | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install system dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -yq libstdc++6 | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 # Fetch history including tags | |
- name: Use Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: "10.x" | |
- name: Build style | |
run: | | |
git clone https://github.com/Qwant/map-style-builder.git | |
npm install mapbox-gl semver | |
cd map-style-builder | |
npm install | |
npm test -- ../ --icons=true | |
npm run build_all -- --style-dir=../ --conf=./prod_conf.json --webfont=true --icons=true | |
cd .. | |
- name: Publish on gh-pages | |
if: github.ref == 'refs/heads/master' | |
run: | | |
git config user.name github-actions | |
git config user.email [email protected] | |
./release.sh |