A GitHub Action for running eipw
, an Ethereum Improvement Proposal linter.
Here's an example workflow (so it would go in .github/workflows/ci.yml
or similar):
on:
pull_request:
name: ci
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: ethereum/eipw-action@dist
with:
token: ${{ secrets.GITHUB_TOKEN }}
npm install # Grab dependencies.
npm run build # Compile TypeScript and create bundle.
git add .
git commit
git push # Make the new build available.