Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…-apps into main
  • Loading branch information
blairlierman committed Jan 13, 2024
2 parents 55b15bc + 146c024 commit 5ecccc4
Show file tree
Hide file tree
Showing 28 changed files with 17,662 additions and 13,117 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
8 changes: 4 additions & 4 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"root": true,
"ignorePatterns": ["**/*"],
"plugins": ["@nrwl/nx"],
"plugins": ["@nx"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
"rules": {
"@nrwl/nx/enforce-module-boundaries": [
"@nx/enforce-module-boundaries": [
"error",
{
"enforceBuildableLibDependency": true,
Expand All @@ -23,12 +23,12 @@
},
{
"files": ["*.ts", "*.tsx"],
"extends": ["plugin:@nrwl/nx/typescript"],
"extends": ["plugin:@nx/typescript"],
"rules": {}
},
{
"files": ["*.js", "*.jsx"],
"extends": ["plugin:@nrwl/nx/javascript"],
"extends": ["plugin:@nx/javascript"],
"rules": {}
},
{
Expand Down
53 changes: 53 additions & 0 deletions .github/workflows/deploy-sff-tracker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Build and Deploy to GitHub Pages
on:
push:
branches:
- main
pull_request:

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
node-version: '16'
- uses: actions/setup-node@v3
with:
node-version: '16'
- uses: nrwl/nx-set-shas@v3
- run: npm ci --legacy-peer-deps
# - run: npx nx workspace-lint
# - run: npx nx format:check
# - run: npx nx affected --target=lint --parallel=3
# - run: npx nx affected --target=test --parallel=3 --ci --code-coverage
- run: npx nx build sff-tracker --parallel=3 --base-href="/sff-tracker/"
- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@v1.0.4
with:
# Path of the directory containing the static assets.
path: dist/apps

# Deploy job
deploy:
# Add a dependency to the build job
needs: build

# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source

# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

# Specify runner + deployment step
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,5 @@ Thumbs.db

# Angular cache files
.angular

.nx/cache
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Add files here to ignore them from prettier formatting

/.nx/cache
280 changes: 0 additions & 280 deletions angular.json

This file was deleted.

Loading

0 comments on commit 5ecccc4

Please sign in to comment.