Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0fb2cbf

Browse files
committedNov 12, 2022
Fix publishing
Signed-off-by: Richie Bendall <richiebendall@gmail.com>
1 parent 52c7b5d commit 0fb2cbf

File tree

4 files changed

+27
-24
lines changed

4 files changed

+27
-24
lines changed
 

‎.github/workflows/main.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: CI
2+
on:
3+
- push
4+
- pull_request
5+
jobs:
6+
test:
7+
name: Node.js ${{ matrix.node-version }}
8+
runs-on: ubuntu-latest
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
node-version:
13+
- 18
14+
- 16
15+
- 14
16+
- 12
17+
steps:
18+
- uses: actions/checkout@v3
19+
- uses: actions/setup-node@v3
20+
with:
21+
node-version: ${{ matrix.node-version }}
22+
- run: npm install
23+
- run: npm test

‎.travis.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

‎license

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2019 - 2021 Richie Bendall
3+
Copyright (c) 2019 - 2022 Richie Bendall
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

‎package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "fetch-charset-detection",
3-
"version": "0.0.0",
3+
"version": "1.0.1",
44
"description": "Detect the encoding of a buffer and stringify it.",
55
"repository": "https://github.com/Richienb/fetch-charset-detection.git",
66
"author": "Richie Bendall <richiebendall@gmail.com>",
@@ -18,7 +18,8 @@
1818
"build": "tsc",
1919
"dev": "tsc --watch",
2020
"lint": "xo",
21-
"test": "xo && ava"
21+
"test": "xo && ava",
22+
"prepublishOnly": "tsc"
2223
},
2324
"keywords": [
2425
"content-type",

0 commit comments

Comments
 (0)
Please sign in to comment.