mirror of
https://github.com/LostCityRS/Engine-TS
synced 2026-08-16 08:26:04 -04:00
Tests: Worse, but not significantly. No reliance on node-gyp makes it a better choice. ``` package op rounds mean ms ops/sec bcrypt hash 10 52.59 19.02 bcrypt-ts hash 10 56.36 17.74 bcrypt compare match 10 50.47 19.81 bcrypt-ts compare match 10 63.01 15.87 ``` Forks should consider using `bcrypt` if they encounter a significant amount of traffic, where every bit helps, and they don't have to worry about ease of use.
32 lines
491 B
YAML
32 lines
491 B
YAML
name: Verify Engine Code
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
paths:
|
|
- '.github/workflows/engine.yml'
|
|
- 'package.json'
|
|
- 'package-lock.json'
|
|
- 'src/**'
|
|
- 'tools/**'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
verify:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
- uses: actions/setup-node@v6
|
|
with:
|
|
node-version: 24
|
|
cache: npm
|
|
|
|
- run: npm ci
|
|
|
|
- name: Lint
|
|
run: npm run lint
|
|
|
|
- name: Compile
|
|
run: npx tsc --noEmit
|