Fix editor detection for sections view #551
Workflow file for this run
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: 'Build' | |
on: | |
push: | |
branches: | |
- master | |
- dev | |
pull_request: | |
branches: | |
- master | |
- dev | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 14 | |
- name: Build | |
run: | | |
npm install | |
npm run build | |
- name: Archive built file | |
uses: actions/upload-artifact@v3 | |
with: | |
name: xiaomi-vacuum-map-card | |
path: dist/xiaomi-vacuum-map-card.js |