Skip to content

Commit

Permalink
docs: improve demo mobile experience
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherPHolder authored Feb 5, 2024
2 parents d3a44e9 + 34b7e0d commit e6d94fc
Show file tree
Hide file tree
Showing 78 changed files with 1,788 additions and 2,024 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ jobs:
- name: install
run: npm i
- name: build
run: npm run nx -- affected:build --base=origin/main --head=HEAD
run: npm run build:lib
- name: test
run: npm run nx -- affected:test --base=origin/main --head=HEAD
run: npm run test:lib
55 changes: 55 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Deploy Demo App

on:
push:
branches: ["main"]

workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 18.x ]

steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Clean Install
run: npm ci

- name: Build
run: npm run build-demo

- name: Setup Pages
uses: actions/configure-pages@v4

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './dist/packages/ngx-fast-icon-demo/browser'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
/dist
/coverage

/.nx/cache
/.nx/cache
.angular
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"nrwl.angular-console",
"esbenp.prettier-vscode",
"firsttris.vscode-jest-runner",
"dbaeumer.vscode-eslint"
"dbaeumer.vscode-eslint",
"ms-playwright.playwright"
]
}
13 changes: 13 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,19 @@
},
"@nrwl/angular:component": {
"style": "scss"
},
"@nx/angular:application": {
"style": "scss",
"linter": "eslint",
"unitTestRunner": "jest",
"e2eTestRunner": "playwright"
},
"@nx/angular:library": {
"linter": "eslint",
"unitTestRunner": "jest"
},
"@nx/angular:component": {
"style": "scss"
}
},
"defaultProject": "ngx-fast-lib",
Expand Down
Loading

0 comments on commit e6d94fc

Please sign in to comment.