3
0
Fork 0
mirror of https://gitea.com/actions/setup-node.git synced 2024-11-22 10:09:33 +01:00

chore: remove sponge usage

This commit is contained in:
Jef LeCompte 2022-09-08 13:18:29 -07:00
parent 0efefb3c0b
commit 4cffe5c52b
No known key found for this signature in database
GPG key ID: 7F5BA322B5DC170C

View file

@ -112,8 +112,7 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Remove engines from package.json - name: Remove engines from package.json
shell: bash shell: bash
run: | run: cat <<< "$(jq 'del(.engines)' ./__tests__/data/package.json)" > ./__tests__/data/package.json
jq 'del(.engines)' ./__tests__/data/package.json | sponge ./__tests__/data/package.json
- name: Setup node from node version file - name: Setup node from node version file
uses: ./ uses: ./
with: with: