mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-24 11:29:12 +00:00
something is wrong with CI :(
This commit is contained in:
parent
dc1a65941f
commit
15db46c1b2
2 changed files with 2 additions and 4 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -13,7 +13,7 @@ jobs:
|
||||||
|
|
||||||
- uses: actions/setup-node@v2.5.1
|
- uses: actions/setup-node@v2.5.1
|
||||||
with:
|
with:
|
||||||
node-version: '16'
|
node-version: '20'
|
||||||
cache: yarn
|
cache: yarn
|
||||||
|
|
||||||
- run: yarn install --frozen-lockfile
|
- run: yarn install --frozen-lockfile
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
import { decodeTime, monotonicFactory } from 'ulid-workers';
|
import { decodeTime, ulid } from 'ulid-workers';
|
||||||
|
|
||||||
const ulid = monotonicFactory();
|
|
||||||
|
|
||||||
export const getID = () => ulid();
|
export const getID = () => ulid();
|
||||||
export const dateFromID = (id: string) => decodeTime(id);
|
export const dateFromID = (id: string) => decodeTime(id);
|
||||||
|
|
Loading…
Add table
Reference in a new issue