Skip to content

Commit

Permalink
use action for jq
Browse files Browse the repository at this point in the history
  • Loading branch information
dpwoert committed Jan 3, 2024
1 parent 6a22454 commit 6d42ef4
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/npm.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test
name: NPM

on:
schedule:
Expand All @@ -23,9 +23,13 @@ jobs:
- name: Show directory content
run: ls
- name: Change package version for editor
run: jq '.devDependencies.@magic-circle/editor = "*"' package.json > "$tmp" && mv "$tmp" package.json
uses: sergeysova/jq-action@v2
with:
cmd: jq '.devDependencies.@magic-circle/editor = "*"' package.json > "$tmp" && mv "$tmp" package.json
- name: Change package version for client
run: jq '.dependencies.@magic-circle/client = "*"' package.json > "$tmp" && mv "$tmp" package.json
uses: sergeysova/jq-action@v2
with:
cmd: jq '.dependencies.@magic-circle/client = "*"' package.json > "$tmp" && mv "$tmp" package.json
- name: Setup repo
run: npm ci
- name: Run Magic Circle
Expand Down

0 comments on commit 6d42ef4

Please sign in to comment.