Skip to content

Commit

Permalink
ci: fix github action
Browse files Browse the repository at this point in the history
  • Loading branch information
okikio committed May 14, 2023
1 parent 61ee0d0 commit 5580aea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
push:
branches: [main]
paths:
- '.typedoc/**/*'
- '*.ts'
- '*.js'
- '*.json'
Expand All @@ -18,10 +17,12 @@ on:
- 'src/**/*'
- 'media/**/*'
- 'tests/**/*'
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"

strategy:
matrix:
Expand Down Expand Up @@ -54,10 +55,9 @@ jobs:
- name: Pre-Release
run: pnpm pre-release

- name: Add lib, types and docs to Git
- name: Add lib, and types to Git
if: ${{ github.ref == 'refs/heads/main' }}
run: |
git add --force docs/
git add --force lib/
- name: Commit files
Expand Down

0 comments on commit 5580aea

Please sign in to comment.