Skip to content

Commit

Permalink
Merge pull request #22 from eugene-serb/dev
Browse files Browse the repository at this point in the history
Release 1.4.0
  • Loading branch information
eugene-serb authored Oct 26, 2023
2 parents 12554e3 + fb008d5 commit 8700bac
Show file tree
Hide file tree
Showing 120 changed files with 3,658 additions and 5,066 deletions.
11 changes: 2 additions & 9 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@ module.exports = {
env: {
node: true,
},
extends: [
'plugin:vue/vue3-essential',
'eslint:recommended',
'@vue/typescript/recommended',
],
extends: ['plugin:vue/vue3-essential', 'eslint:recommended', '@vue/typescript/recommended'],
parserOptions: {
ecmaVersion: 2020,
},
Expand All @@ -17,10 +13,7 @@ module.exports = {
},
overrides: [
{
files: [
'**/__tests__/*.{j,t}s?(x)',
'**/tests/unit/**/*.spec.{j,t}s?(x)',
],
files: ['**/__tests__/*.{j,t}s?(x)', '**/tests/unit/**/*.spec.{j,t}s?(x)'],
env: {
jest: true,
},
Expand Down
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: eugene-serb
35 changes: 35 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Build

on:
push:
branches:
- master
pull_request:
branches:
- master
- dev
workflow_dispatch:

jobs:
build:
strategy:
matrix:
node-version: [20]
os: [ubuntu-22.04]

runs-on: ${{ matrix.os }}

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 }}
cache: 'npm'

- name: Install and Build
run: |
npm ci
npm run build
35 changes: 35 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Build and Deploy

on:
push:
branches:
- master
workflow_dispatch:

permissions:
contents: write

jobs:
build-and-deploy:
strategy:
matrix:
node-version: [20]
os: [ubuntu-22.04]

concurrency: ci-${{ github.ref }}

runs-on: ${{ matrix.os }}

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install and Build
run: |
npm ci
npm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist
35 changes: 35 additions & 0 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Format

on:
push:
branches:
- master
pull_request:
branches:
- master
- dev
workflow_dispatch:

jobs:
format:
strategy:
matrix:
node-version: [20]
os: [ubuntu-22.04]

runs-on: ${{ matrix.os }}

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 }}
cache: 'npm'

- name: Install and Format
run: |
npm ci
npm run format
35 changes: 35 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Lint

on:
push:
branches:
- master
pull_request:
branches:
- master
- dev
workflow_dispatch:

jobs:
lint:
strategy:
matrix:
node-version: [20]
os: [ubuntu-22.04]

runs-on: ${{ matrix.os }}

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 }}
cache: 'npm'

- name: Install and Lint
run: |
npm ci
npm run lint
35 changes: 35 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Test

on:
push:
branches:
- master
pull_request:
branches:
- master
- dev
workflow_dispatch:

jobs:
test:
strategy:
matrix:
node-version: [20]
os: [ubuntu-22.04]

runs-on: ${{ matrix.os }}

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 }}
cache: 'npm'

- name: Install and Test
run: |
npm ci
npm run test
Loading

0 comments on commit 8700bac

Please sign in to comment.