Skip to content

Commit

Permalink
Fix CI, bump version.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderson1993 committed May 24, 2024
1 parent 2a6513c commit 66995bd
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 93 deletions.
20 changes: 1 addition & 19 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,24 +39,6 @@ jobs:
- name: Typecheck
run: npm run typecheck

test:
name: Unit and Integration Tests
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- name: Install dependencies
uses: bahmutov/npm-install@v1

- name: Test
run: npm run test -- --ci --coverage --maxWorkers=2

lint:
name: Linter
runs-on: ubuntu-latest
Expand All @@ -76,4 +58,4 @@ jobs:
run: npm run build

- name: Lint
run: npm run lint
run: npm run lint
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 0.3.0

This is a *BREAKING CHANGE*.

- Upgrade to SimpleWebAuthn v10, which requires Node v20 TLS. Make sure you upgrade to Node 20 before using this package.

## 0.2.1

This is a *BREAKING CHANGE*.
Expand Down
20 changes: 0 additions & 20 deletions config/jest.config.ts

This file was deleted.

24 changes: 0 additions & 24 deletions config/jest/babel.config.js

This file was deleted.

4 changes: 0 additions & 4 deletions config/jest/setup.ts

This file was deleted.

6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "remix-auth-webauthn",
"version": "0.2.1",
"version": "0.3.0",
"exports": {
".": {
"types": "./build/server.d.ts",
Expand Down Expand Up @@ -28,9 +28,7 @@
"scripts": {
"build": "tsc --project tsconfig.json && npx esbuild src/* --outdir=build --platform=node --format=esm",
"typecheck": "tsc --project tsconfig.json --noEmit",
"lint": "eslint --ext .ts,.tsx src/",
"test": "jest --config=config/jest.config.ts --passWithNoTests",
"coverage": "npm run test -- --coverage"
"lint": "eslint --ext .ts,.tsx src/"
},
"keywords": [
"remix",
Expand Down
21 changes: 0 additions & 21 deletions test/index.test.ts

This file was deleted.

1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"strict": true,
"skipLibCheck": true,
"declaration": true,
"emitDeclarationOnly": true,
"jsx": "react-jsx",
"outDir": "./build"
},
Expand Down

0 comments on commit 66995bd

Please sign in to comment.