Skip to content

Commit

Permalink
Try action with input param
Browse files Browse the repository at this point in the history
  • Loading branch information
TucksonDev committed Aug 1, 2023
1 parent 148377f commit c429012
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,28 @@ on:
- master

jobs:
install:
name: "Install"
runs-on: ubuntu-latest
steps:
- name: Checkout files
uses: actions/checkout@v3

- name: Install node_modules
uses: OffchainLabs/actions/node-modules/install@main
with:
install-command: cd website && yarn install --frozen-lockfile

check-formatting:
name: "Check Formatting"
runs-on: ubuntu-latest
needs: install
steps:
- name: Checkout files
uses: actions/checkout@v3

- name: Install node_modules
working-directory: ./website
run: yarn install
- name: Restore node_modules
uses: OffchainLabs/actions/node-modules/restore@main

- name: Check formatting with Prettier
working-directory: ./website
Expand Down

0 comments on commit c429012

Please sign in to comment.