update router documentation (#532) #1049
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: Bindings | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Bindings | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: packages/rescript-relay | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
env: | |
CI: true | |
- name: Install esy | |
run: npm install -g esy | |
- name: Build PPX | |
uses: esy/github-action@6863524ed7748e7882e317e31ac2b8b107011744 | |
with: | |
cache-key: ${{ hashFiles('esy.lock/index.json') }} | |
working-directory: packages/rescript-relay/rescript-relay-ppx | |
- name: Install | |
run: | | |
yarn --frozen-lockfile | |
- name: Build | |
run: | | |
yarn build | |
- name: Test | |
run: | | |
yarn test:ci |