Fix #92 , Added /Sensor route for GET , POST request to list all sensors . #204
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: Svelte CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "18.x" | |
cache: "npm" | |
- run: npm ci | |
- run: npm run build --if-present | |
- name: Validate generated files are up-to-date | |
run: npm run generate-check | |
- run: npm run check | |
- run: npm run test | |
- run: npx prettier --check "**/*.{svelte,ts}" |