Compare commits
6 Commits
0693397164
...
0.13.2
Author | SHA1 | Date | |
---|---|---|---|
f3049160b6 | |||
e21273ddb2 | |||
8d3b427c1b | |||
87857a01c5 | |||
535e579b43 | |||
2934f86530 |
25
.github/workflows/build.yaml
vendored
25
.github/workflows/build.yaml
vendored
@ -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
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ztimson/utils",
|
||||
"version": "0.13.0",
|
||||
"version": "0.13.2",
|
||||
"description": "Utility library",
|
||||
"author": "Zak Timson",
|
||||
"license": "MIT",
|
||||
|
@ -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}
|
||||
|
||||
|
@ -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';
|
||||
|
@ -1,4 +1,4 @@
|
||||
import {PromiseProgress} from './promise-progress.ts';
|
||||
import {PromiseProgress} from './promise-progress';
|
||||
|
||||
export type UploadOptions = {
|
||||
url: string;
|
||||
|
Reference in New Issue
Block a user