Skip to content

Bump actions/setup-node from 2 to 4 #1

Bump actions/setup-node from 2 to 4

Bump actions/setup-node from 2 to 4 #1

Workflow file for this run

name: Format JavaScript
on:
pull_request:
branches: [main]
jobs:
format:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '14'
- name: Install dependencies
run: npm ci
- name: Format code
run: |
npm run format
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Apply JavaScript formatting
branch: ${{ github.head_ref }}