Add additional RPC API methods #2181
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: ci | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
checks: | |
if: github.event_name != 'push' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout ๐๏ธ | |
uses: actions/checkout@v3 | |
- name: Install โ๏ธ | |
run: yarn install --frozen-lockfile | |
- name: Prettier ๐จ | |
run: yarn run prettier | |
- name: Build ๐ | |
run: yarn build | |
build-and-deploy: | |
if: github.event_name != 'pull_request' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout ๐๏ธ | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install โ๏ธ | |
run: yarn install --frozen-lockfile | |
- name: Build ๐ | |
run: yarn build | |
- name: Deploy ๐ | |
uses: JamesIves/github-pages-deploy-action@4.1.4 | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: build # The folder the action should deploy. |