Skip to content

Commit

Permalink
Merge pull request #22 from bolzplatzarena/standalone-components
Browse files Browse the repository at this point in the history
Standalone components
  • Loading branch information
rengert authored Oct 8, 2023
2 parents 3c5297b + 4169b6f commit 1551e4b
Show file tree
Hide file tree
Showing 33 changed files with 7,083 additions and 20,416 deletions.
35 changes: 34 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
"plugin:@angular-eslint/recommended",
"plugin:@angular-eslint/template/process-inline-templates"
],
"plugins": [
"function-name"
],
"rules": {
"@angular-eslint/directive-selector": [
"error",
Expand All @@ -37,7 +40,37 @@
"style": "kebab-case"
}
],
"@typescript-eslint/no-extra-semi": "off"
"@typescript-eslint/no-extra-semi": "off",
"eqeqeq": [
"error",
"always"
],
"function-name/starts-with-verb": [
"error",
{
"whitelist": [
"ng",
"by",
"migrate",
"die"
]
}
],
"max-params": [
"error",
3
],
"no-console": "error",
"no-nested-ternary": "error",
"no-shadow": "off",
"@typescript-eslint/await-thenable": "error",
"@typescript-eslint/explicit-function-return-type": "error",
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-floating-promises": "error",
"@typescript-eslint/no-shadow": "error",
"@typescript-eslint/no-unnecessary-condition": "error",
"require-await": "off",
"@typescript-eslint/require-await": "error"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/builds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
timeout-minutes: 25
strategy:
matrix:
node-version: [ 16.x ]
node-version: [ 20.x ]

steps:
- uses: actions/checkout@v2
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Deployment

on:
push:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest
timeout-minutes: 25
strategy:
matrix:
node-version: [ 20.x ]

steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Cache
uses: actions/cache@v1
with:
path: node_modules
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-modules-
- name: Prepare and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npm install
npm run ng -- deploy --base-href=https://bolzplatzarena.github.io/Components/ --no-silent --name="Thomas Renger" --email="[email protected]"
Loading

0 comments on commit 1551e4b

Please sign in to comment.