From 5a34452f790af2d03c5041172288d5d008736943 Mon Sep 17 00:00:00 2001 From: Team 1280 Programming Laptop <59985235+Team1280Programming@users.noreply.github.com> Date: Wed, 14 Feb 2024 16:41:04 -0800 Subject: [PATCH] Create style.yml --- .github/workflows/style.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/style.yml diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml new file mode 100644 index 0000000..99a11c7 --- /dev/null +++ b/.github/workflows/style.yml @@ -0,0 +1,23 @@ +name: npm run format + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + permissions: + # Give the default GITHUB_TOKEN write permission to commit and push the + # added or changed files to the repository. + contents: write + + steps: + - uses: actions/checkout@v4 + - uses: stefanzweifel/git-auto-commit-action@v5 + - name: Use Node.js + uses: actions/setup-node@v3 + with: + node-version: '20.x' + - run: npm install + - run: npm run format