aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/integration.yml15
-rw-r--r--.github/workflows/release.yml13
2 files changed, 20 insertions, 8 deletions
diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml
index 257f758..258e77e 100644
--- a/.github/workflows/integration.yml
+++ b/.github/workflows/integration.yml
@@ -20,12 +20,19 @@ jobs:
20 # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ 20 # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
21 21
22 steps: 22 steps:
23 - uses: actions/checkout@v3 23 -
24 - name: Use Node.js ${{ matrix.node-version }} 24 name: Checkout
25 uses: actions/checkout@v3
26 -
27 name: Use Node.js ${{ matrix.node-version }}
25 uses: actions/setup-node@v2 28 uses: actions/setup-node@v2
26 with: 29 with:
27 node-version: ${{ matrix.node-version }} 30 node-version: ${{ matrix.node-version }}
28 cache: 'yarn' 31 cache: 'yarn'
29 - run: yarn install 32 -
30 - run: yarn lint 33 name: install dependencies
34 run: yarn install
35 -
36 name: Check code style & potentential issues
37 run: yarn lint
31 38
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 62c15a8..66bfb5b 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -10,15 +10,20 @@ jobs:
10 name: Upload Release Asset 10 name: Upload Release Asset
11 runs-on: ubuntu-latest 11 runs-on: ubuntu-latest
12 steps: 12 steps:
13 - uses: actions/checkout@v3 13 -
14 - name: Build project 14 name: Checkout
15 uses: actions/checkout@v3
16 -
17 name: Build project
15 run: | 18 run: |
16 yarn install 19 yarn install
17 yarn build 20 yarn build
18 - name: Create artifact 21 -
22 name: Create artifact
19 working-directory: "dist" 23 working-directory: "dist"
20 run: zip -r ../homer.zip ./* 24 run: zip -r ../homer.zip ./*
21 - name: Create Release 25 -
26 name: Create Release
22 id: create_release 27 id: create_release
23 uses: softprops/action-gh-release@v1 28 uses: softprops/action-gh-release@v1
24 with: 29 with: