From f13b3f0a957ee9e96cd16ded3232dbd4c0f08f1a Mon Sep 17 00:00:00 2001 From: Davey van der Woert Date: Tue, 2 Jan 2024 18:28:37 -0600 Subject: [PATCH] use correct folder for action --- .github/workflows/npm.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) 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