Skip to content

Commit

Permalink
ci: added separate workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
heueristik committed Oct 18, 2023
1 parent 7230b8d commit 2bdac5d
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/contract-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ jobs:
node-version: 16
- name: Install dependencies
run: cd ../../ && yarn install --pure-lockfile
- name: Check formatting
run: yarn run formatting:check
- name: Compile contracts
run: yarn run build && yarn run build:npm
- name: Run Hardhat Tests
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/style-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Style Checks
on:
push:

env:
working-directory: .

jobs:
formatting:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ${{env.working-directory}}
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
fetch-depth: 0
- name: Install node
uses: actions/setup-node@v3
with:
cache: 'yarn'
node-version: 16
- name: Install dependencies
run: yarn install --pure-lockfile
- name: Check with prettier
run: yarn run prettier:check

0 comments on commit 2bdac5d

Please sign in to comment.