Examples are at the root folder now
This commit is contained in:
parent
97130af651
commit
47cc98f842
|
@ -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…
Reference in New Issue