chore(deps): update dependency vue-tsc to v2.2.0 #499
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 and Deploy | |
on: | |
push: | |
branches: | |
- main | |
- beta | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v4.2.2 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- name: Install and Build | |
run: | | |
npm ci --production=false # We also need to install dev dependencies for the build | |
npm run build | |
env: | |
REPOSITORY_NAME: ${{ github.event.repository.name }} | |
NODE_ENV: production | |
- name: Create archive as a preparation for the release | |
run: zip -r release.zip dist/** | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- name: Release to GitHub | |
run: npx semantic-release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Deploy 🚀 | |
if: ${{ github.ref == 'refs/heads/main' }} | |
uses: JamesIves/github-pages-deploy-action@v4.7.2 | |
with: | |
branch: gh-pages | |
folder: dist | |
git-config-name: Carsten Hoffmann | |
git-config-email: carsten.c.hoffmann@deutschebahn.com |