deno.land / x / oauth4webapi@v1.2.2 / .github / workflows / test.yml
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133name: Test
on: push: pull_request: schedule: - cron: '47 11 * * 1' workflow_dispatch:
jobs: build: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Setup node uses: actions/setup-node@v3 with: node-version: 18 # lts/hydrogen cache: 'npm' check-latest: true - run: npm clean-install - run: npm run build
format: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Setup node uses: actions/setup-node@v3 with: node-version: 18 # lts/hydrogen cache: 'npm' check-latest: true - run: npm clean-install - run: npm run format-check - run: ./examples/.update-diffs.sh - run: git diff --quiet
node: runs-on: ubuntu-latest env: ESBK_DISABLE_CACHE: 1 strategy: fail-fast: false matrix: node-version: - lts/gallium # 16 - 18 # lts/hydrogen - current steps: - name: Checkout uses: actions/checkout@v3 - name: Setup node uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} cache: 'npm' check-latest: true - run: npm clean-install - name: Run Test Suite run: npm run tap:node - name: Run Network Tests run: npm run test
edge-runtime: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Setup node uses: actions/setup-node@v3 with: node-version: 18 # lts/hydrogen cache: 'npm' check-latest: true - run: npm clean-install - name: Run Test Suite run: npm run tap:edge-runtime
deno: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - uses: denoland/setup-deno@v1 with: deno-version: v1.x - name: Test Deno Definitions run: deno check src/index.ts - name: Run Test Suite run: npm run tap:deno
workers: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Setup node uses: actions/setup-node@v3 with: node-version: 18 # lts/hydrogen cache: 'npm' check-latest: true - run: npm clean-install - name: Run Test Suite run: npm run tap:workers
browsers: runs-on: ubuntu-latest strategy: fail-fast: false matrix: browser: - chrome:headless - firefox:headless - edge:headless steps: - name: Checkout uses: actions/checkout@v3 - name: Setup node uses: actions/setup-node@v3 with: node-version: 18 # lts/hydrogen cache: 'npm' check-latest: true - run: npm clean-install - name: Run Test Suite run: npm run tap:browsers env: BROWSER: ${{ matrix.browser }}
Version Info