Skip to content
This repository was archived by the owner on May 1, 2023. It is now read-only.

Commit 74a1d8a

Browse files
authored
Merge pull request #20 from inyono/release-v0.2.0
2 parents f8e24c9 + cc52a50 commit 74a1d8a

File tree

647 files changed

+7980
-8227
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

647 files changed

+7980
-8227
lines changed

.github/workflows/codeql.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: CodeQL
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
branches:
8+
- main
9+
schedule:
10+
- cron: '38 23 * * 4'
11+
jobs:
12+
analyze:
13+
runs-on: ubuntu-latest
14+
permissions:
15+
actions: read
16+
contents: read
17+
security-events: write
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
language:
22+
- javascript
23+
steps:
24+
- uses: actions/checkout@v3
25+
- uses: github/codeql-action/init@v1
26+
with:
27+
languages: ${{ matrix.language }}
28+
- uses: github/codeql-action/analyze@v1

.github/workflows/deploy.yml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ name: Deploy
22
on:
33
push:
44
branches:
5-
- master
5+
- main
66
jobs:
77
update-version:
88
runs-on: ubuntu-latest
99
outputs:
1010
tag: ${{ steps.version.outputs.tag }}
1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v3
1313
with:
1414
fetch-depth: 2
1515
- id: version
@@ -19,20 +19,12 @@ jobs:
1919
needs: update-version
2020
if: ${{ needs.update-version.outputs.tag }}
2121
steps:
22-
- uses: actions/checkout@v2
23-
- uses: actions/setup-node@v1
22+
- uses: actions/checkout@v3
23+
- uses: actions/setup-node@v3
2424
with:
25-
node-version: 14.x
25+
node-version: 16.x
2626
registry-url: 'https://registry.npmjs.org'
27-
- id: yarn-cache-dir-path
28-
run: echo "::set-output name=dir::$(yarn cache dir)"
29-
- uses: actions/cache@v2
30-
with:
31-
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
32-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
33-
restore-keys: |
34-
${{ runner.os }}-yarn-
35-
- run: yarn
27+
- run: yarn --immutable
3628
- run: yarn build
3729
- run: npm publish
3830
env:

.github/workflows/workflow.yml

Lines changed: 21 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,54 @@
11
name: JavaScript
22
on:
3-
push:
4-
branches:
5-
- master
6-
pull_request:
3+
- push
74
jobs:
5+
yarn:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v3
9+
- uses: actions/setup-node@v3
10+
with:
11+
node-version: 16.x
12+
- run: yarn --immutable --check-cache
813
build:
914
runs-on: ubuntu-latest
1015
strategy:
1116
matrix:
1217
node-version:
13-
- 12.x
1418
- 14.x
19+
- 16.x
1520
steps:
16-
- uses: actions/checkout@v2
17-
- uses: actions/setup-node@v1
21+
- uses: actions/checkout@v3
22+
- uses: actions/setup-node@v3
1823
with:
1924
node-version: ${{ matrix.node-version }}
20-
- id: yarn-cache-dir-path
21-
run: echo "::set-output name=dir::$(yarn cache dir)"
22-
- uses: actions/cache@v2
23-
with:
24-
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
25-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
26-
restore-keys: |
27-
${{ runner.os }}-yarn-
28-
- run: yarn
25+
- run: yarn --immutable
2926
- run: yarn build
3027
lint:
3128
runs-on: ubuntu-latest
3229
strategy:
3330
matrix:
3431
node-version:
35-
- 12.x
3632
- 14.x
33+
- 16.x
3734
steps:
38-
- uses: actions/checkout@v2
39-
- uses: actions/setup-node@v1
35+
- uses: actions/checkout@v3
36+
- uses: actions/setup-node@v3
4037
with:
4138
node-version: ${{ matrix.node-version }}
42-
- id: yarn-cache-dir-path
43-
run: echo "::set-output name=dir::$(yarn cache dir)"
44-
- uses: actions/cache@v2
45-
with:
46-
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
47-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
48-
restore-keys: |
49-
${{ runner.os }}-yarn-
50-
- run: yarn
39+
- run: yarn --immutable
5140
- run: yarn lint
5241
test:
5342
runs-on: ubuntu-latest
5443
strategy:
5544
matrix:
5645
node-version:
57-
- 12.x
5846
- 14.x
47+
- 16.x
5948
steps:
60-
- uses: actions/checkout@v2
61-
- uses: actions/setup-node@v1
49+
- uses: actions/checkout@v3
50+
- uses: actions/setup-node@v3
6251
with:
6352
node-version: ${{ matrix.node-version }}
64-
- id: yarn-cache-dir-path
65-
run: echo "::set-output name=dir::$(yarn cache dir)"
66-
- uses: actions/cache@v2
67-
with:
68-
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
69-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
70-
restore-keys: |
71-
${{ runner.os }}-yarn-
72-
- run: yarn
53+
- run: yarn --immutable
7354
- run: yarn test

.gitignore

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,14 @@ typings/
5757
# dotenv environment variables file
5858
.env
5959

60-
# next.js build output
61-
.next
62-
63-
# Compiled code
64-
dist/
60+
# build output
61+
dist
62+
63+
# Yarn
64+
.yarn/*
65+
!.yarn/cache
66+
!.yarn/patches
67+
!.yarn/plugins
68+
!.yarn/releases
69+
!.yarn/sdks
70+
!.yarn/versions

.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
# Transpiled code
22
dist/
3+
4+
# Yarn
5+
.yarn/

.prettierrc.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"semi": false,
3+
"singleQuote": true
4+
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)