Skip to content

Commit

Permalink
Merge pull request #51 from eugene-serb/dev
Browse files Browse the repository at this point in the history
Release 2.0.0
  • Loading branch information
eugene-serb authored Oct 25, 2023
2 parents 43666a1 + 4562944 commit 83bd1e5
Show file tree
Hide file tree
Showing 31 changed files with 106 additions and 1,910 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,22 @@ jobs:
build:
strategy:
matrix:
node-version: [18]
node-version: [20]
os: [ubuntu-22.04]

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

steps:
- uses: actions/checkout@v3
- 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'
- run: npm ci
- run: npm run build

- 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: build
13 changes: 9 additions & 4 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,22 @@ jobs:
format:
strategy:
matrix:
node-version: [18]
node-version: [20]
os: [ubuntu-22.04]

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

steps:
- uses: actions/checkout@v3
- 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'
- run: npm ci
- run: npm run format

- name: Install and Format
run: |
npm ci
npm run format
13 changes: 9 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,22 @@ jobs:
lint:
strategy:
matrix:
node-version: [18]
node-version: [20]
os: [ubuntu-22.04]

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

steps:
- uses: actions/checkout@v3
- 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'
- run: npm ci
- run: npm run lint

- name: Install and Lint
run: |
npm ci
npm run lint
13 changes: 9 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,22 @@ jobs:
test:
strategy:
matrix:
node-version: [18]
node-version: [20]
os: [ubuntu-22.04]

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

steps:
- uses: actions/checkout@v3
- 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'
- run: npm ci
- run: npm run test

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

0 comments on commit 83bd1e5

Please sign in to comment.