Skip to content

chore(release): Publish new version #131

chore(release): Publish new version

chore(release): Publish new version #131

Workflow file for this run

name: Formatting
on:
push:
branches-ignore:
# Skip formatting during mob programming
- "mob/**"
pull_request:
branches:
- "**"
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 }}