Skip to content

Commit

Permalink
Publish website on release commits (#1600)
Browse files Browse the repository at this point in the history
  • Loading branch information
ovidiuch committed Jan 18, 2024
1 parent 53cb725 commit 3cfdcfd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/release-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
- main
jobs:
release:
if: ${{ !contains(github.event.head_commit.message, '[release]') }}
runs-on: ubuntu-latest
steps:
- run: git config --global core.autocrlf false
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-pnp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches: main
jobs:
pnp-install-and-run:
if: ${{ !contains(github.event.head_commit.message, '[release]') }}
runs-on: ubuntu-latest
env:
SKIP_YARN_COREPACK_CHECK: true
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches: main
jobs:
source:
if: ${{ !contains(github.event.head_commit.message, '[release]') }}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -33,6 +34,7 @@ jobs:
if: matrix.os == 'ubuntu'

examples:
if: ${{ !contains(github.event.head_commit.message, '[release]') }}
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"build": "node --no-warnings=ExperimentalWarning --loader ts-node/esm ./scripts/build.ts",
"demo:build": "node --no-warnings=ExperimentalWarning --loader ts-node/esm ./scripts/buildDemo.ts",
"release:check": "yarn build:clear && yarn build && yarn src && yarn lint && yarn dist && yarn test:unit",
"release": "yarn release:check && yarn lerna publish -m \"[skip ci] %s\"",
"release": "yarn release:check && yarn lerna publish -m \"[release] %s\"",
"release:next": "yarn release:check && yarn lerna publish --dist-tag=next --exact -m \"[skip ci] %s\""
},
"devDependencies": {
Expand Down

0 comments on commit 3cfdcfd

Please sign in to comment.