Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

Commit

Permalink
Move to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisIsManta committed Jan 13, 2024
1 parent 8a09ef9 commit fa045bd
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 83 deletions.
38 changes: 0 additions & 38 deletions .circleci/config.yml

This file was deleted.

22 changes: 0 additions & 22 deletions .github/workflows/api-report.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
on:
push:
branches:
- master
- docs-revamp

jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false

- run: yarn install --frozen-lockfile

- run: yarn docs:build

- uses: peaceiris/actions-gh-pages@8457ade3d7045b4842e5a10f733d4153b7d05238
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/.vuepress/dist
45 changes: 45 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
on:
pull_request:

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn

- run: yarn install --frozen-lockfile

- run: yarn lint

- run: yarn test

- run: yarn build

build:
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn

- run: yarn install --frozen-lockfile

- name: Update API reports
run: mkdir -p api && yarn api-extractor run --local

- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update API report as of ${{ github.sha }}
file_pattern: api
commit_user_name: rebasecop
commit_user_email: [email protected]
commit_author: rebasecop <[email protected]>
23 changes: 0 additions & 23 deletions .github/workflows/docs.yml

This file was deleted.

0 comments on commit fa045bd

Please sign in to comment.