Skip to content

Commit

Permalink
use correct folder for action
Browse files Browse the repository at this point in the history
  • Loading branch information
dpwoert committed Jan 3, 2024
1 parent c5b192c commit f13b3f0
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f13b3f0

Please sign in to comment.