Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: ✨ update deps and add github actions for coveralls #28

Merged
merged 3 commits into from
May 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .babelrc

This file was deleted.

12 changes: 0 additions & 12 deletions .eslintrc

This file was deleted.

41 changes: 41 additions & 0 deletions .github/workflows/coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: CI

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- uses: pnpm/action-setup@v3
with:
version: 9

- name: Set up NodeJS
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'

- name: Install dependencies
run: pnpm install

- name: Install dependencies
run: pnpm build

- name: Test
run: pnpm test:coverage

- name: Test
run: pnpm test:coverage

- name: Coveralls GitHub Action
uses: coverallsapp/github-action@v2.3.0
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,7 @@ ehthumbs.db
Thumbs.db
.tsimp
.vscode
tsconfig.tsbuildinfo

lib/*
dist/*
9 changes: 9 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// @ts-check

import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';

export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommended,
);
38 changes: 0 additions & 38 deletions lib/error-factory.js

This file was deleted.

60 changes: 0 additions & 60 deletions lib/index.js

This file was deleted.

Loading
Loading