Skip to content

fix: Wrong background color context #431

fix: Wrong background color context

fix: Wrong background color context #431

Workflow file for this run

name: Formatting
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Get Node.js version
id: nvm
run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc)
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: ${{ steps.nvm.outputs.NODE_VERSION }}
- name: Install dependencies
run: |
npm config set '//registry.npmjs.org/:_authToken' "${NPM_AUTH_TOKEN}"
yarn --frozen-lockfile
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- name: Format files
run: yarn format
- name: Commit changes
uses: EndBug/add-and-commit@v5
with:
message: "style: auto-format all files [skip ci]"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}