parent
479f98a367
commit
fceae5c84a
1 changed files with 3 additions and 3 deletions
|
@ -11,9 +11,9 @@ jobs:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: time npm install
|
run: time pnpm install
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
run: npm run test -- --ignore-only
|
run: pnpm run test -- --ignore-only
|
||||||
- name: Deply if new version
|
- name: Deply if new version
|
||||||
run: |
|
run: |
|
||||||
echo ""
|
echo ""
|
||||||
|
@ -37,7 +37,7 @@ jobs:
|
||||||
-H "Authorization: token ${{ secrets.deploytoken }}" \
|
-H "Authorization: token ${{ secrets.deploytoken }}" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
https://git.nfp.is/api/v1/repos/${{ github.repository }}/releases \
|
https://git.nfp.is/api/v1/repos/${{ github.repository }}/releases \
|
||||||
-d "{\"tag_name\":\"${CURR_VER}\",\"name\":\"${CURR_NAME}\",\"body\":\"Automatic release from Appveyor from ${{ github.sha }} :\n\n${{ github.event.head_commit.message }}\"}"
|
-d "{\"tag_name\":\"${CURR_VER}\",\"name\":\"${CURR_NAME}\",\"body\":\"Automatic release from Appveyor from ${{ github.sha }} :\n\n${{ github.event.head_commit.message }}\"}" | jq
|
||||||
|
|
||||||
echo "//registry.npmjs.org/:_authToken=${{ secrets.npmtoken }}" > ~/.npmrc
|
echo "//registry.npmjs.org/:_authToken=${{ secrets.npmtoken }}" > ~/.npmrc
|
||||||
echo "Publishing new version to npm"
|
echo "Publishing new version to npm"
|
||||||
|
|
Loading…
Reference in a new issue