Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Merge pull request #7 from Martinspire/dependabot/npm_and_yarn/xml2js… #35

Merge pull request #7 from Martinspire/dependabot/npm_and_yarn/xml2js…

Merge pull request #7 from Martinspire/dependabot/npm_and_yarn/xml2js… #35

Workflow file for this run

name: CI / CD for Angular
on:
push:
branches: ['main']
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up node.js
uses: actions/[email protected]
with:
node-version: '18'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Lint
run: npx nx lint
#- name: Tests
# run: npm run test:prod
- name: Build
run: npx nx build --base-href=https://martinspire.github.io/f1app/
- name: Deploy to GitHub Pages
uses: crazy-max/[email protected]
with:
target_branch: gh-pages
build_dir: dist/apps/formule1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}