Skip to content

Commit

Permalink
wip: migration from Travis CI to GitHub Actions #149
Browse files Browse the repository at this point in the history
  • Loading branch information
tristan-greffe committed Dec 9, 2023
1 parent 3fc0ea7 commit b63fe3c
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ jobs:
with:
mongodb-version: 6.0
- name: Run tests
run: |
chmod +x ./.github/workflows/test.sh
./.github/workflows/test.sh
run: bash ./.github/workflows/test.sh
build:
if: ${{ !contains(github.event.head_commit.message, '[skip app]') }}
runs-on: ubuntu-latest
Expand All @@ -32,9 +30,7 @@ jobs:
with:
node-version: ${{ secrets.NODE_VERSION }}
- name: Build & deploy
run: |
chmod +x ./.github/workflows/build.sh
./.github/workflows/build.sh
run: bash ./.github/workflows/build.sh
doc:
if: ${{ contains(github.event.head_commit.message, '[build doc]') }}
runs-on: ubuntu-latest
Expand All @@ -44,9 +40,7 @@ jobs:
with:
node-version: ${{ secrets.NODE_VERSION }}
- name: Build doc
run: |
chmod +x ./.github/workflows/doc.sh
./.github/workflows/doc.sh
run: bash ./.github/workflows/doc.sh
- name: Deploy doc to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
Expand Down

0 comments on commit b63fe3c

Please sign in to comment.