Skip to content

Commit

Permalink
squash! chore: add ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gitmp01 committed Jun 21, 2024
1 parent 262497a commit 4f7964f
Showing 1 changed file with 27 additions and 14 deletions.
41 changes: 27 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,30 @@ env:
jobs:
yarn-ci:
runs-on: ubuntu-latest
steps:
- name: 'Setup Node.js'
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'yarn'
- name: 'Install'
run: yarn install
- name: 'Build'
run: yarn build
- name: 'Lint'
run: yarn lint
- name: 'Test'
run: yarn test
steps:
- uses: actions/checkout@v3
with:
submodules: recursive

- name: 'Install Foundry'
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- name: 'Setup Node.js'
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'yarn'

- name: 'Install'
run: yarn install

- name: 'Build'
run: yarn build

- name: 'Lint'
run: yarn lint

- name: 'Test'
run: yarn test

0 comments on commit 4f7964f

Please sign in to comment.