-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #219 from n0th1ng-else/bump
- Loading branch information
Showing
63 changed files
with
2,341 additions
and
1,891 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,25 @@ | ||
const getCfg = () => ({ | ||
module.exports = { | ||
root: true, | ||
parser: '@typescript-eslint/parser', | ||
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'], | ||
plugins: ['svelte3', '@typescript-eslint'], | ||
ignorePatterns: ['*.cjs'], | ||
overrides: [ | ||
{ | ||
files: ['*.svelte'], | ||
processor: 'svelte3/svelte3' | ||
} | ||
], | ||
env: { | ||
node: true, | ||
browser: true, | ||
es2017: true | ||
}, | ||
globals: { | ||
runtime: true | ||
}, | ||
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'], | ||
rules: { | ||
'no-mixed-spaces-and-tabs': 'off', | ||
'@typescript-eslint/no-var-requires': 'off', | ||
'no-console': 'error' | ||
}, | ||
settings: { | ||
'svelte3/typescript': () => require('typescript'), | ||
'svelte3/ignore-styles': () => true | ||
'svelte3/typescript': () => require('typescript') | ||
}, | ||
parserOptions: { | ||
sourceType: 'module', | ||
ecmaVersion: 2019 | ||
ecmaVersion: 2020 | ||
}, | ||
env: { | ||
browser: true, | ||
es2017: true, | ||
node: true | ||
} | ||
}); | ||
|
||
module.exports = getCfg(); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,17 +18,10 @@ jobs: | |
- name: ⬇️ Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: 📓️ Read NodeJS version from .nvmrc | ||
id: node-version | ||
uses: juliangruber/read-file-action@v1 | ||
- name: Setup NodeJS using the obtained nvm version | ||
uses: actions/setup-node@v3 | ||
with: | ||
path: ./.nvmrc | ||
trim: true | ||
|
||
- name: ▶️ Setup NodeJS using the obtained nvm version | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ steps.node-version.outputs.content }} | ||
node-version-file: '.nvmrc' | ||
|
||
- name: 📖️ Restore cached node_modules | ||
uses: actions/cache@v2 | ||
|
@@ -37,7 +30,7 @@ jobs: | |
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }} | ||
|
||
- name: ▶️ Install Dependencies | ||
run: npm i | ||
run: npm ci | ||
|
||
- name: 🚧 Create a branch | ||
uses: peterjgrainger/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,17 +14,10 @@ jobs: | |
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Read NodeJS version from .nvmrc | ||
id: node-version | ||
uses: juliangruber/read-file-action@v1 | ||
with: | ||
path: ./.nvmrc | ||
trim: true | ||
|
||
- name: Setup NodeJS using the obtained nvm version | ||
uses: actions/setup-node@v2 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ steps.node-version.outputs.content }} | ||
node-version-file: '.nvmrc' | ||
|
||
- name: Restore cached node_modules | ||
uses: actions/cache@v2 | ||
|
@@ -41,8 +34,10 @@ jobs: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Read VERSION file | ||
id: getversion | ||
run: echo "::set-output name=version::$(cat .VERSION)" | ||
id: version | ||
run: | | ||
APP_VER=$(cat .VERSION) | ||
echo "version=$APP_VER" >> $GITHUB_OUTPUT | ||
docker: | ||
runs-on: ubuntu-latest | ||
|
@@ -55,17 +50,10 @@ jobs: | |
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
- name: Read NodeJS version from .nvmrc | ||
id: node-version | ||
uses: juliangruber/read-file-action@v1 | ||
with: | ||
path: ./.nvmrc | ||
trim: true | ||
|
||
- name: Setup NodeJS using the obtained nvm version | ||
uses: actions/setup-node@v2 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ steps.node-version.outputs.content }} | ||
node-version-file: '.nvmrc' | ||
|
||
- name: Login to GitHub Container Registry | ||
uses: docker/login-action@v2 | ||
|
@@ -103,17 +91,10 @@ jobs: | |
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Read NodeJS version from .nvmrc | ||
id: node-version | ||
uses: juliangruber/read-file-action@v1 | ||
with: | ||
path: ./.nvmrc | ||
trim: true | ||
|
||
- name: Setup NodeJS using the obtained nvm version | ||
uses: actions/setup-node@v2 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ steps.node-version.outputs.content }} | ||
node-version-file: '.nvmrc' | ||
|
||
- name: Install Railway CLI | ||
run: npm i -g @railway/cli | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -115,3 +115,5 @@ public/* | |
.DS_Store | ||
.svelte-kit/ | ||
.VERSION | ||
|
||
vite.config.ts.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
engine-strict=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
16.17.1 | ||
18.14.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,10 @@ | ||
{ | ||
"printWidth": 100, | ||
"useTabs": true, | ||
"semi": true, | ||
"singleQuote": true, | ||
"trailingComma": "none", | ||
"bracketSpacing": true, | ||
"arrowParens": "avoid", | ||
"endOfLine": "lf", | ||
"svelteSortOrder": "options-scripts-markup-styles", | ||
"svelteStrictMode": true, | ||
"svelteBracketNewLine": true, | ||
"svelteAllowShorthand": false | ||
"printWidth": 100, | ||
"plugins": ["prettier-plugin-svelte"], | ||
"pluginSearchDirs": ["."], | ||
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.