Skip to content

Adds an option to fill the forecast segment with icons (translations for #715) #1721

Adds an option to fill the forecast segment with icons (translations for #715)

Adds an option to fill the forecast segment with icons (translations for #715) #1721

Workflow file for this run

name: 'Build non-main'
on:
push:
branches-ignore:
- main
pull_request:
branches:
- main
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: |
cd /home/runner/work/lovelace-hourly-weather/lovelace-hourly-weather
npm ci
npm run build
- name: Save artifact
uses: actions/upload-artifact@v4
with:
name: hourly-weather.js
retention-days: 5
path: /home/runner/work/lovelace-hourly-weather/lovelace-hourly-weather/dist/hourly-weather.js
- name: Run tests
uses: cypress-io/github-action@v6
with:
record: ${{ github.actor != 'dependabot[bot]' && github.event_name == 'pull_request' }}
start: npm run test:server
wait-on: 'http://localhost:8000'
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TZ: Etc/UTC # https://github.com/cypress-io/cypress/issues/1043