Skip to content

Commit

Permalink
fix: github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Jacob authored and Andreas Jacob committed Dec 8, 2023
1 parent b089b5d commit e90ed4d
Showing 1 changed file with 6 additions and 18 deletions.
24 changes: 6 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,18 @@ on:
branches: [main]

jobs:
build:
build-and-deploy:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm ci
- run: npm run ci:lint
# - run: npm run ci:test
- name: Build
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run: |
npm run ci:lint
npm run ci:build:lib
npm run ci:build:app
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@4.2.0
uses: JamesIves/github-pages-deploy-action@4
with:
branch: gh-pages
folder: dist/demo-app

0 comments on commit e90ed4d

Please sign in to comment.