Skip to content

Testin ci again

Testin ci again #9

Workflow file for this run

name: Lint
on:
push:
branches-ignore:
- master
pull_request:
jobs:
build:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20.2.0
- uses: bahmutov/npm-install@v1
with:
install-command: yarn install --frozen-lockfile
- name: Lint JS
run: npx standard --fix
- name: Lint SCSS
run: npx stylelint "**/*.scss" --fix
- name: Commit files
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add -A
git commit --no-verify -m "[skip ci] Lint files" || echo "Nothing to commit"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}