name: deno on: [pull_request] jobs: pr: strategy: matrix: step: ['check', 'build'] name: ${{ matrix.step }} runs-on: ubuntu-latest env: YARN_ENABLE_SCRIPTS: false WITH_DENO: true steps: - uses: actions/checkout@v2 - uses: denoland/setup-deno@v1 with: deno-version: vx.x.x - name: ${{ matrix.step }} if: always() run: | yarn install --immutable | grep -v 'YN0013' if [ "${{ matrix.step }}" != "check" ]; then ./scripts/install-build-deps.sh fi yarn polkadot-dev-deno-map yarn deno:${{ matrix.step }}