Skip to content

Commit fb4644f

Browse files
authored
Feature/initial implementation (#3)
1 parent bfc513f commit fb4644f

File tree

4 files changed

+2974
-13
lines changed

4 files changed

+2974
-13
lines changed

.github/workflows/main.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
on:
2+
workflow_dispatch:
3+
pull_request:
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
with:
11+
ref: ${{ github.ref }}
12+
fetch-depth: 0
13+
14+
- uses: actions/setup-node@v3
15+
with:
16+
node-version: 16
17+
cache: "yarn"
18+
19+
- name: Install Dependencies
20+
run: yarn --frozen-lockfile --prefer-offline
21+
22+
- name: Linting
23+
run: yarn lint
24+
25+
- name: Format Source Code
26+
run: yarn format
27+
28+
- name: Unit Tests
29+
run: yarn test
30+
31+
- name: Build
32+
run: yarn build
33+
34+
- name: Commit and Push Changes
35+
uses: EndBug/add-and-commit@v9
36+
with:
37+
committer_name: GitHub Actions
38+
# https://github.blog/changelog/2021-02-08-github-actions-skip-pull-request-and-push-workflows-with-skip-ci/
39+
message: "chore: [skip-ci] format code and generate build artifacts"
40+
add: "."
41+
push: origin HEAD:${{ github.head_ref }}

0 commit comments

Comments
 (0)