Compare commits

..

No commits in common. "master" and "flaska_v1.4.0" have entirely different histories.

3 changed files with 3 additions and 12 deletions

View file

@ -11,9 +11,9 @@ jobs:
- name: Check out repository code
uses: actions/checkout@v3
- name: Install dependencies
run: time pnpm install
run: time npm install
- name: Run Tests
run: pnpm run test --ignore-only
run: npm run test -- --ignore-only
- name: Deply if new version
run: |
echo ""
@ -37,7 +37,7 @@ jobs:
-H "Authorization: token ${{ secrets.deploytoken }}" \
-H "Content-Type: application/json" \
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 }}\"}" | jq
-d "{\"tag_name\":\"${CURR_VER}\",\"name\":\"${CURR_NAME}\",\"body\":\"Automatic release from Appveyor from ${{ github.sha }} :\n\n${{ github.event.head_commit.message }}\"}"
echo "//registry.npmjs.org/:_authToken=${{ secrets.npmtoken }}" > ~/.npmrc
echo "Publishing new version to npm"

View file

@ -189,10 +189,6 @@ Parse the search query and create a map with key->value in `ctx.query`.
Parse incoming request body as json and store it in `ctx.req.body`.
* `CorsHandler()`
A secure implementation for handling CORS requests.
* `FormidableHandler()`
Provides a wrapper to handle an incoming file upload using `Formidable@1`.

View file

@ -39,11 +39,6 @@
"eltro": "^1.3.2",
"formidable": "^1.2.2"
},
"pnpm": {
"allowedDeprecatedVersions": {
"formidable": "1"
}
},
"files": [
"flaska.mjs",
"README.md",