Bump @rollup/plugin-node-resolve from 15.2.1 to 15.2.3 #1272
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 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@v3 | |
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 |