Skip to content

build: update production deployment workflow #2

build: update production deployment workflow

build: update production deployment workflow #2

Workflow file for this run

---
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 }}