Skip to content

Commit

Permalink
ci: Apply formatting changes in CI workflow configuration. (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
y3owk1n authored Apr 7, 2024
1 parent 5976d05 commit 8dc2006
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
name: CI
# yamllint disable-line rule:truthy
on:
pull_request:
branches: ["*"]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
version: 8
run_install: false
- run: pnpm install
- run: cat .env.example > .env
- run: pnpm lint
- run: pnpm format
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Apply formatting changes
branch: ${{ github.head_ref }}

0 comments on commit 8dc2006

Please sign in to comment.