Skip to content

feat: content length is returned in headObject fn #32

feat: content length is returned in headObject fn

feat: content length is returned in headObject fn #32

Workflow file for this run

name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: install pnpm
uses: pnpm/action-setup@v2
with:
version: 8.x
- uses: actions/setup-node@v3
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- name: Run tests
run: deno test --coverage=coverage --allow-net --allow-env
env:
FILEBASE_TOKEN: ${{ secrets.FILEBASE_TOKEN }}
- name: npm build
run: deno run -A ./scripts/npm.ts
env:
FILEBASE_TOKEN: ${{ secrets.FILEBASE_TOKEN }}
- name: Create coverage report
run: deno coverage ./coverage --lcov > coverage.lcov
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./coverage.lcov