Skip to content

Commit

Permalink
Merge pull request #34 from rwanyoike/prep-actions
Browse files Browse the repository at this point in the history
chore: update packages
  • Loading branch information
rwanyoike committed Oct 5, 2024
2 parents ffe4103 + d100997 commit 602c703
Show file tree
Hide file tree
Showing 6 changed files with 638 additions and 47 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/nodejs-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: NodeJS package

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout ${{ github.repository }}
uses: actions/checkout@v4
- name: Set up NodeJS lts/*
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: npm
- name: Install dependencies
run: npm install
- name: Run eslint checks
run: npm run lint
- name: Test with vitest
run: npm run test -- --coverage
- name: Build with vite
run: npm run build
File renamed without changes.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# Tolon Browser Extension

[![GitHub](https://img.shields.io/github/license/rwanyoike/tolon-browser-extension)](LICENSE)
[![GitHub Actions](https://img.shields.io/github/actions/workflow/status/rwanyoike/tolon-browser-extension/nodejs-package.yml?branch=main)
](https://github.com/rwanyoike/tolon-browser-extension/actions/workflows/python-package.yml?query=branch%3Amain)
[![GitHub License](https://img.shields.io/github/license/rwanyoike/tolon-browser-extension)
](LICENSE.txt)
[![Chrome Web Store](https://img.shields.io/chrome-web-store/v/mohaijbbfgjjjjbhffgaifcnookdihmk)](https://chrome.google.com/webstore/detail/tolon/mohaijbbfgjjjjbhffgaifcnookdihmk)
[![Mozilla Add-on](https://img.shields.io/amo/v/tolon)](https://addons.mozilla.org/en-US/firefox/addon/tolon/)
[![Code Style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
[![Mozilla Add-on](https://img.shields.io/amo/v/tolon-browser-extension)](https://addons.mozilla.org/en-US/firefox/addon/tolon-browser-extension)

> Find webpage discussions on the web. (e.g. Hacker News, Reddit)
Expand Down Expand Up @@ -45,7 +47,7 @@ You can install the latest version [manually](https://github.com/rwanyoike/tolon

### Firefox

[![Mozilla Add-on](https://img.shields.io/amo/v/tolon)](https://addons.mozilla.org/en-US/firefox/addon/tolon/)
[![Mozilla Add-on](https://img.shields.io/amo/v/tolon-browser-extension)](https://addons.mozilla.org/en-US/firefox/addon/tolon-browser-extension/)

You can install the latest version from the [Firefox Add-ons](https://addons.mozilla.org/en-US/firefox/addon/tolon/) web site.

Expand Down
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default tseslint.config(
extends: [
js.configs.recommended,
...tseslint.configs.recommended,
...prettier,
prettier,
],
files: ["**/*.{ts,tsx}"],
languageOptions: {
Expand Down
Loading

0 comments on commit 602c703

Please sign in to comment.