Compare commits

..

6 Commits

Author SHA1 Message Date
f3049160b6 Fixed imports
All checks were successful
Build / Build NPM Project (push) Successful in 21s
Build / Tag Version (push) Successful in 4s
2024-07-19 00:26:30 -04:00
e21273ddb2 Fixed exports
All checks were successful
Build / Build NPM Project (push) Successful in 21s
Build / Tag Version (push) Successful in 4s
2024-07-19 00:22:00 -04:00
8d3b427c1b Fix build?
All checks were successful
Build / Build NPM Project (push) Successful in 24s
Build / Tag Version (push) Successful in 4s
2024-07-19 00:09:40 -04:00
87857a01c5 Fix build?
Some checks failed
Build / Build NPM Project (push) Failing after 8s
Build / Tag Version (push) Has been skipped
2024-07-19 00:08:39 -04:00
535e579b43 Fix build?
Some checks failed
Build / Build NPM Project (push) Failing after 7s
Build / Tag Version (push) Has been skipped
2024-07-19 00:06:17 -04:00
2934f86530 Fix build?
Some checks failed
Build / Build NPM Project (push) Failing after 8s
Build / Tag Version (push) Has been skipped
2024-07-19 00:04:16 -04:00
5 changed files with 10 additions and 25 deletions

View File

@ -9,34 +9,19 @@ jobs:
build:
name: Build NPM Project
runs-on: ubuntu-latest
container:
image: node
volumes:
- '/mnt/swarm/gitea/runner/cache:/cache'
container: node:20-alpine
steps:
- name: Clone Repository
uses: ztimson/actions/clone@develop
- name: Restore node_modules
uses: ztimson/actions/cache/restore@develop
with:
key: node_modules
- name: Install Dependencies
run: npm i
- name: Build Project
run: npm run build
- name: Install & Build
run: |
npm i
npm run build
- name: Test
run: npm run test:coverage
- name: Cache node_modules
uses: ztimson/actions/cache@develop
with:
key: node_modules
pattern: node_modules
- name: Upload to Registry
uses: ztimson/actions/npm/publish@develop

View File

@ -1,6 +1,6 @@
{
"name": "@ztimson/utils",
"version": "0.13.0",
"version": "0.13.2",
"description": "Utility library",
"author": "Zak Timson",
"license": "MIT",

View File

@ -1,5 +1,5 @@
import {clean} from './objects';
import {PromiseProgress} from './promise-progress.ts';
import {PromiseProgress} from './promise-progress';
export type DecodedResponse<T> = Response & {data?: T}

View File

@ -3,7 +3,7 @@ export * from './aset';
export * from './download';
export * from './emitter';
export * from './errors';
export * from './http.ts';
export * from './http';
export * from './logger';
export * from './math';
export * from './misc';
@ -11,4 +11,4 @@ export * from './objects';
export * from './promise-progress';
export * from './string';
export * from './time';
export * from './upload.ts';
export * from './upload';

View File

@ -1,4 +1,4 @@
import {PromiseProgress} from './promise-progress.ts';
import {PromiseProgress} from './promise-progress';
export type UploadOptions = {
url: string;