Skip to content

Commit

Permalink
Merge authme-v4 branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Levminer committed Oct 12, 2022
1 parent d030bef commit 2347b92
Show file tree
Hide file tree
Showing 143 changed files with 12,302 additions and 16,973 deletions.
40 changes: 40 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
module.exports = {
env: {
browser: true,
commonjs: true,
es2021: true,
node: true,
},
parser: "@typescript-eslint/parser",
extends: ["standard", "eslint:recommended", "plugin:promise/recommended", "plugin:prettier/recommended", "plugin:@typescript-eslint/eslint-recommended", "plugin:svelte/recommended"],
plugins: ["@typescript-eslint"],
ignorePatterns: ["/node_modules/*", "/dist/*", "/build/*"],
parserOptions: {
ecmaVersion: 12,
extraFileExtensions: [".svelte"],
},
overrides: [
{
files: ["*.svelte"],
parser: "svelte-eslint-parser",
parserOptions: {
parser: "@typescript-eslint/parser",
},
},
],
rules: {
indent: ["off", "tab", { SwitchCase: 1 }],
quotes: ["error", "double"],
semi: ["error", "never"],

"prettier/prettier": ["warn", { endOfLine: "auto" }],
"prefer-const": ["warn"],
"prefer-arrow-callback": ["error"],
"prefer-template": ["error"],
"func-style": ["error"],
"no-var": ["error"],
"no-unused-vars": ["warn"],
"no-use-before-define": ["off"],
"svelte/valid-compile": ["off"],
},
}
39 changes: 0 additions & 39 deletions .eslintrc.js

This file was deleted.

51 changes: 51 additions & 0 deletions .github/workflows/alpha-artifact.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Alpha Artifacts
on:
push:
branches:
- dev
jobs:
test-tauri:
strategy:
fail-fast: false
matrix:
include:
- os: macos-latest
NAME: mac
- os: ubuntu-latest
NAME: linux
- os: windows-latest
NAME: windows
runs-on: ${{ matrix.os}}
env:
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
steps:
- uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: 16
- name: Install rust stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Install webkit2gtk (ubuntu only)
if: matrix.NAME == 'linux'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
- name: Install app dependencies and build it
run: npm ci && npm run build:alpha
- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Remove useless folders
run: |
rm -rf core/target/release/build
rm -rf core/target/release/deps
rm -rf core/target/release/bundle/appimage/authme.AppDir
shell: bash
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: authme-latest-alpha-${{matrix.NAME}}-x64-installer-portable
path: core/target/release
30 changes: 0 additions & 30 deletions .github/workflows/alpha-artifacts.yml

This file was deleted.

125 changes: 0 additions & 125 deletions .github/workflows/beta-artifacts.yml

This file was deleted.

14 changes: 0 additions & 14 deletions .github/workflows/lint.yml

This file was deleted.

Loading

0 comments on commit 2347b92

Please sign in to comment.