Skip to content

chore(deps): update dependency typescript to ~5.7.0 #172

chore(deps): update dependency typescript to ~5.7.0

chore(deps): update dependency typescript to ~5.7.0 #172

Workflow file for this run

name: Weather App CI
env:
NODE_VERSION: 22.10.0
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build-and-test:
runs-on: ubuntu-latest
container:
image: cypress/browsers:node-22.0.0-chrome-124.0.6367.60-1-ff-125.0.2-edge-124.0.2478.51-1
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{env.NODE_VERSION}}
uses: actions/setup-node@v4
with:
node-version: ${{env.NODE_VERSION}}
cache: 'npm'
- name: Install
run: npm ci
- name: Unit Tests
run: npm test
- name: E2E Tests
run: npx uuv e2e --generateHtmlReport --generateJunitReport || cat ./uuv/reports/e2e/junit-report.xml
- name: Test Report
uses: dorny/[email protected]
if: success() || failure()
with:
name: Report - E2E Tests - Playwright
path: ./uuv/reports/e2e/junit-report.xml
reporter: jest-junit
- run: npm run build --if-present -- --base-href=/weather-app/
- name: Upload build artifact
uses: actions/upload-pages-artifact@main
with:
name: github-pages
path: dist/weather-app
publish:
if: github.ref == 'refs/heads/main'
needs: [ build-and-test ]
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4