Delete request lib because it's not being used #59
Workflow file for this run
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: Verify PR | |
concurrency: | |
group: ${{github.workflow}}-${{github.ref}} | |
cancel-in-progress: true | |
on: | |
pull_request: | |
branches: | |
- main | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
jobs: | |
build-faucet: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- run: yarn install --frozen-lockfile | |
- run: yarn run build | |
build-faucet-client: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: client | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- run: yarn install --frozen-lockfile | |
- run: cp env.sample .env | |
- run: yarn run check | |
- name: Install Playwright | |
run: npx playwright install | |
- run: yarn run test | |
- run: yarn run build | |
env: | |
PUBLIC_CAPTCHA_KEY: 6LesXHomAAAAAGVVTCgc467t8hvBbmK7IlYZCc8O | |
GITHUB_PAGES: "/${{ github.event.repository.name }}" | |
STATIC: true | |
- uses: actions/upload-artifact@master | |
with: | |
name: faucet | |
path: ./client/build | |
if-no-files-found: error | |
test-image: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check that the image builds | |
run: docker build ./client --file ./client/Dockerfile |