Single deno step (aligning with other repos) (#396)

* Single deno step (aligning with other repos)

* skip root mod.ts
This commit is contained in:
Jaco
2022-07-09 10:56:18 +03:00
committed by GitHub
parent e07bd1eb00
commit b5ae0089d1
4 changed files with 10 additions and 31 deletions
+5 -1
View File
@@ -5,13 +5,16 @@ jobs:
pr:
strategy:
matrix:
step: ['lint', 'test', 'build']
step: ['lint', 'test', 'build', 'deno']
name: ${{ matrix.step }}
runs-on: ubuntu-latest
env:
YARN_ENABLE_SCRIPTS: false
steps:
- uses: actions/checkout@v2
- uses: denoland/setup-deno@v1
with:
deno-version: vx.x.x
- name: ${{ matrix.step }}
if: always()
run: |
@@ -19,4 +22,5 @@ jobs:
if [ "${{ matrix.step }}" != "lint" ]; then
./scripts/install-build-deps.sh
fi
yarn polkadot-dev-deno-map
yarn ${{ matrix.step }}
-27
View File
@@ -1,27 +0,0 @@
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 }}