Skip to content

Update base-client.ts #29

Update base-client.ts

Update base-client.ts #29

Workflow file for this run

# This workflow runs a `deno check` against slack sample apps
name: Samples Integration Type-checking
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
samples:
runs-on: ubuntu-latest
strategy:
matrix:
sample:
- slack-samples/deno-issue-submission
- slack-samples/deno-starter-template
- slack-samples/deno-blank-template
- slack-samples/deno-message-translator
- slack-samples/deno-request-time-off
- slack-samples/deno-simple-survey
steps:
- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Checkout the api
uses: actions/checkout@v3
with:
path: ./deno-slack-api
- name: Checkout the ${{ matrix.sample }} sample
uses: actions/checkout@v3
with:
repository: ${{ matrix.sample }}
path: ./sample
- name: Set imports.deno-slack-api/ to ../deno-slack-api/src/ in import_map.json
run: >
deno run
--allow-read --allow-write --allow-net
deno-slack-api/scripts/import_map/update.ts
--import-map "./sample/import_map.json"
--api "../deno-slack-api/src/"
- name: Deno check **/*.ts
working-directory: ./sample
run: find . -type f -regex ".*\.ts" | xargs deno check -r