Skip to content

Merge pull request #181 from JoSSte/dependabot/npm_and_yarn/axios-1.7.7 #21

Merge pull request #181 from JoSSte/dependabot/npm_and_yarn/axios-1.7.7

Merge pull request #181 from JoSSte/dependabot/npm_and_yarn/axios-1.7.7 #21

Workflow file for this run

on:
push:
branches:
- master
name: Deploy Angular Application
permissions:
contents: write
issues: read
checks: write
statuses: read
pull-requests: write
jobs:
deploy-ghpages:
#needs: build
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache node modules
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: npm install and npm run build
run: |
npm i
npm run deploy
- name: Deploy to GH pages
if: startsWith(github.ref, 'refs/tags/v')
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist # The folder the action should deploy.