Skip to content

Commit

Permalink
Bump creyD/prettier_action to v4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
sivertschou committed Feb 24, 2023
1 parent 97935c0 commit fb3e3cb
Showing 1 changed file with 17 additions and 20 deletions.
37 changes: 17 additions & 20 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ name: Node.js CI

on:
push:
branches: [ "master" ]
branches: ['master']
pull_request:
branches: [ "master" ]
branches: ['master']

jobs:
build:

runs-on: ubuntu-latest

strategy:
Expand All @@ -20,25 +19,23 @@ jobs:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- run: yarn
- run: yarn run build


- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- run: yarn
- run: yarn run build

prettier:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Prettify code
uses: creyD/prettier_action@v4.2
with:
dry: True
prettier_options: --check **/*.{ts,tsx,js,md,html,json} #todo add svg
- uses: actions/checkout@v3

- name: Prettify code
uses: creyD/prettier_action@v4.3
with:
dry: True
prettier_options: --check **/*.{ts,tsx,js,md,html,json} #todo add svg

0 comments on commit fb3e3cb

Please sign in to comment.