mirror of
https://github.com/status-im/js-waku-examples.git
synced 2025-01-13 15:34:58 +00:00
Examples are at the root folder now
This commit is contained in:
parent
97130af651
commit
47cc98f842
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@ -33,7 +33,7 @@ jobs:
|
|||||||
id: use-yarn
|
id: use-yarn
|
||||||
shell: bash
|
shell: bash
|
||||||
run: echo "::set-output name=lockfile::$(ls yarn.lock 2> /dev/null)"
|
run: echo "::set-output name=lockfile::$(ls yarn.lock 2> /dev/null)"
|
||||||
working-directory: examples/${{ matrix.example }}
|
working-directory: ${{ matrix.example }}
|
||||||
|
|
||||||
- name: (npm) Cache npm cache
|
- name: (npm) Cache npm cache
|
||||||
if: steps.use-yarn.outputs.lockfile != 'yarn.lock'
|
if: steps.use-yarn.outputs.lockfile != 'yarn.lock'
|
||||||
@ -45,19 +45,19 @@ jobs:
|
|||||||
- name: (npm) ${{ matrix.example }} install using npm i
|
- name: (npm) ${{ matrix.example }} install using npm i
|
||||||
if: steps.use-yarn.outputs.lockfile != 'yarn.lock'
|
if: steps.use-yarn.outputs.lockfile != 'yarn.lock'
|
||||||
run: npm install
|
run: npm install
|
||||||
working-directory: examples/${{ matrix.example }}
|
working-directory: ${{ matrix.example }}
|
||||||
|
|
||||||
- name: (npm) ${{ matrix.example }} test
|
- name: (npm) ${{ matrix.example }} test
|
||||||
if: steps.use-yarn.outputs.lockfile != 'yarn.lock'
|
if: steps.use-yarn.outputs.lockfile != 'yarn.lock'
|
||||||
run: npm run test
|
run: npm run test
|
||||||
working-directory: examples/${{ matrix.example }}
|
working-directory: ${{ matrix.example }}
|
||||||
|
|
||||||
- name: (yarn) ${{ matrix.example }} install using yarn
|
- name: (yarn) ${{ matrix.example }} install using yarn
|
||||||
if: steps.use-yarn.outputs.lockfile == 'yarn.lock'
|
if: steps.use-yarn.outputs.lockfile == 'yarn.lock'
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --frozen-lockfile
|
||||||
working-directory: examples/${{ matrix.example }}
|
working-directory: ${{ matrix.example }}
|
||||||
|
|
||||||
- name: (yarn) ${{ matrix.example }} test
|
- name: (yarn) ${{ matrix.example }} test
|
||||||
if: steps.use-yarn.outputs.lockfile == 'yarn.lock'
|
if: steps.use-yarn.outputs.lockfile == 'yarn.lock'
|
||||||
run: echo "test skipped" # yarn test; tracked with https://github.com/status-im/js-waku/issues/563
|
run: echo "test skipped" # yarn test; tracked with https://github.com/status-im/js-waku/issues/563
|
||||||
working-directory: examples/${{ matrix.example }}
|
working-directory: ${{ matrix.example }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user