Skip to content

Bump typescript from 5.4.5 to 5.5.4 #215

Bump typescript from 5.4.5 to 5.5.4

Bump typescript from 5.4.5 to 5.5.4 #215

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Build
env:
node-version: 16.x
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
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'
- run: npm ci
- run: npm run build
- run: cp dist/index.html dist/404.html
- uses: actions/upload-pages-artifact@v3
with:
path: "dist/"
deploy:
# Add a dependency to the build job
needs: build
# Only deploy from master
if: github.ref == 'refs/heads/master'
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
# Specify runner + deployment step
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4