Skip to content

Add branch argument to ChalkClient initialization and request functions #170

Add branch argument to ChalkClient initialization and request functions

Add branch argument to ChalkClient initialization and request functions #170

Workflow file for this run

name: check
on:
push:
branches: [main]
pull_request: {}
jobs:
yarn-installs-cleanly:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16"
cache: yarn
- run: yarn install --immutable
install:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16"
cache: yarn
- run: yarn install
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16"
cache: yarn
- run: yarn install
- run: yarn build
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16"
cache: yarn
- run: yarn install
- run: yarn test
integration-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16"
cache: yarn
- run: yarn install
- run: yarn test:integration
env:
CI_CHALK_CLIENT_ID: ${{ secrets.CHALK_CLIENT_ID }}
CI_CHALK_CLIENT_SECRET: ${{ secrets.CHALK_CLIENT_SECRET }}