Skip to content

Commit

Permalink
Merge branch 'master' into commander-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
david-yz-liu authored Jun 24, 2024
2 parents e0e4851 + 5580f67 commit adb2774
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 19 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/autofix-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: autofix.ci
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
push:
branches:
- master
permissions:
contents: read

jobs:
prettier:
runs-on: ubuntu-22.04
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Set up node and cache packages
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- name: Install npm packages
run: npm ci
- name: Run prettier
run: npx prettier . --write
- name: Commit changes
uses: autofix-ci/action@d3e591514b99d0fca6779455ff8338516663f7cc
with:
commit_message: Apply formatting changes
branch: ${{ github.head_ref }}
19 changes: 0 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,6 @@ on:
- master

jobs:
prettier:
runs-on: ubuntu-22.04
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Set up node and cache packages
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- name: Install npm packages
run: npm ci
- name: Run prettier
run: npx prettier . --write
# - name: Commit changes
# uses: stefanzweifel/git-auto-commit-action@v4
# with:
# commit_message: Apply formatting changes
# branch: ${{ github.head_ref }}
jest:
if: github.event.pull_request.draft == false
runs-on: ubuntu-22.04
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ and adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
- Added type interfaces and type annotations to `style.ts`.
- Added `DrawnEntity` type annotations to source code files.
- Adopted Commander.js library for the MemoryViz CLI.
- Added `autofix.ci` to the CI workflow.

## [0.1.0] - 2024-04-16

Expand Down

0 comments on commit adb2774

Please sign in to comment.