mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
build: v2.1.4
This commit is contained in:
16
.github/workflows/hexabot-npm.yml
vendored
16
.github/workflows/hexabot-npm.yml
vendored
@@ -20,14 +20,13 @@ jobs:
|
||||
cache: 'npm'
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
cd api/
|
||||
npm ci
|
||||
run: npm ci
|
||||
working-directory: api
|
||||
|
||||
|
||||
- name: Build the package
|
||||
run: |
|
||||
cd api/
|
||||
npm run build
|
||||
run: npm run build
|
||||
working-directory: api
|
||||
|
||||
- name: Determine release type
|
||||
id: determine-release
|
||||
@@ -56,6 +55,5 @@ jobs:
|
||||
|
||||
- name: Publish to npm
|
||||
if: env.release != 'none'
|
||||
run: |
|
||||
cd api/
|
||||
npm publish
|
||||
run: npm publish
|
||||
working-directory: api
|
||||
|
||||
16
.github/workflows/widget-npm.yml
vendored
16
.github/workflows/widget-npm.yml
vendored
@@ -20,15 +20,12 @@ jobs:
|
||||
cache: 'npm'
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
cd widget/
|
||||
npx husky install
|
||||
npm ci
|
||||
run: npm ci
|
||||
working-directory: widget
|
||||
|
||||
- name: Build the package
|
||||
run: |
|
||||
cd widget/
|
||||
npm run build
|
||||
run: npm run build
|
||||
working-directory: widget
|
||||
|
||||
- name: Determine release type
|
||||
id: determine-release
|
||||
@@ -57,6 +54,5 @@ jobs:
|
||||
|
||||
- name: Publish to npm
|
||||
if: env.release != 'none'
|
||||
run: |
|
||||
cd widget/
|
||||
npm publish
|
||||
run: npm publish
|
||||
working-directory: widget
|
||||
|
||||
Reference in New Issue
Block a user