forked from extern/homer
Uniform workflow yaml style
This commit is contained in:
parent
2f1aff4dc5
commit
4b639b1c10
15
.github/workflows/integration.yml
vendored
15
.github/workflows/integration.yml
vendored
@ -20,12 +20,19 @@ jobs:
|
||||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
-
|
||||
name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: 'yarn'
|
||||
- run: yarn install
|
||||
- run: yarn lint
|
||||
-
|
||||
name: install dependencies
|
||||
run: yarn install
|
||||
-
|
||||
name: Check code style & potentential issues
|
||||
run: yarn lint
|
||||
|
||||
|
13
.github/workflows/release.yml
vendored
13
.github/workflows/release.yml
vendored
@ -10,15 +10,20 @@ jobs:
|
||||
name: Upload Release Asset
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build project
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
-
|
||||
name: Build project
|
||||
run: |
|
||||
yarn install
|
||||
yarn build
|
||||
- name: Create artifact
|
||||
-
|
||||
name: Create artifact
|
||||
working-directory: "dist"
|
||||
run: zip -r ../homer.zip ./*
|
||||
- name: Create Release
|
||||
-
|
||||
name: Create Release
|
||||
id: create_release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user