diff --git a/.github/workflows/npm.yml b/.github/workflows/npm.yml index 1635219c..7992619b 100644 --- a/.github/workflows/npm.yml +++ b/.github/workflows/npm.yml @@ -18,25 +18,23 @@ jobs: with: node-version: 21.x cache: 'npm' - - name: Open simple example - run: cd examples/simple - - name: Show directory content - run: ls - name: Change package version for editor uses: MYXOMOPX/modify-pkg-json@master with: - target: ./package.json - save_to: ./dist/package.json + target: ./examples/simple/package.json + save_to: ./examples/simple/package.json action: 'set_devdep_version' argument: '@magic-circle/editor *' - name: Change package version for client uses: MYXOMOPX/modify-pkg-json@master with: - target: ./package.json - save_to: ./dist/package.json + target: ./examples/simple/package.json + save_to: ./examples/simple/package.json action: 'set_dep_version' argument: '@magic-circle/client *' + - name: Open simple example + run: cd examples/simple - name: Output package json run: cat package.json - name: Setup repo