build(deps-dev): bump follow-redirects from 1.15.2 to 1.15.6 #58
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check the source code | |
on: | |
pull_request: | |
jobs: | |
test: | |
name: Check the source code | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "16" | |
# unable to use yarn in actions/setup-node@v3 https://github.com/actions/setup-node/issues/182#issuecomment-966885975 | |
- name: Install Yarn | |
run: npm install -g yarn | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "16" | |
cache: yarn | |
- name: Install packages | |
run: yarn | |
- name: Lint | |
run: yarn lint | |
- name: Test | |
run: yarn test | |
- name: Check Target Contract Size | |
run: echo "\`\`\`\n $(yarn hardhat size-contracts)" > ./comments | |
- name: Post comments | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
URL: ${{ github.event.pull_request.html_url }} | |
run: gh pr comment -F ./comments "${URL}" |