fix(deps): update dependency core-js to v3.38.1 #483
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.1.7 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 16 | |
- 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: 18 | |
- 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.6.3 | |
with: | |
branch: gh-pages | |
folder: dist | |
git-config-name: Carsten Hoffmann | |
git-config-email: carsten.c.hoffmann@deutschebahn.com |