mirror of
https://github.com/chenasraf/licenseg.git
synced 2026-05-17 17:48:03 +00:00
build: fix workflows
This commit is contained in:
36
.github/workflows/pull_requests.yml
vendored
36
.github/workflows/pull_requests.yml
vendored
@@ -1,18 +1,20 @@
|
||||
name: Pull Requests
|
||||
# name: Pull Requests
|
||||
#
|
||||
# on:
|
||||
# pull_request:
|
||||
# branches: [ master, develop ]
|
||||
# jobs:
|
||||
# build:
|
||||
# runs-on: ubuntu-latest
|
||||
# if: "!contains(github.event.head_commit.message, '[skip ci]')"
|
||||
# steps:
|
||||
# - uses: actions/checkout@v3
|
||||
# - uses: pnpm/action-setup@v2
|
||||
# with:
|
||||
# run_install: |
|
||||
# - recursive: true
|
||||
# args: [--frozen-lockfile, --strict-peer-dependencies]
|
||||
# - run: pnpm build
|
||||
# - run: pnpm test
|
||||
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ master, develop ]
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
if: "!contains(github.event.head_commit.message, '[skip ci]')"
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: pnpm/action-setup@v2
|
||||
with:
|
||||
run_install: |
|
||||
- recursive: true
|
||||
args: [--frozen-lockfile, --strict-peer-dependencies]
|
||||
- run: pnpm build
|
||||
# - run: pnpm test
|
||||
|
||||
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -27,8 +27,8 @@ jobs:
|
||||
run_install: |
|
||||
- recursive: true
|
||||
args: [--frozen-lockfile, --strict-peer-dependencies]
|
||||
- run: pnpm build
|
||||
- run: cd ./dist && pnpm pack --pack-destination=../
|
||||
# - run: pnpm build
|
||||
- run: pnpm pack
|
||||
- run: pnpm semantic-release
|
||||
if: "!contains(github.event.head_commit.message, '[skip publish]')"
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user