Skip to content

Commit f1e3f63

Browse files
authored
✨ remove deprecated package, lock file, add CI (#18)
1 parent a831e67 commit f1e3f63

File tree

6 files changed

+451
-3122
lines changed

6 files changed

+451
-3122
lines changed

.github/workflows/test.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: 'test'
2+
3+
on: [pull_request, push]
4+
5+
permissions:
6+
contents: read
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
- uses: ljharb/actions/node/install@main
14+
name: 'nvm install lts/* && npm install'
15+
- run: npm test

.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-lock=false

lib/html_serializer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ var fs = require('fs')
55
var path = require('path')
66
var cookie = require('cookie')
77
var CleanCSS = require('clean-css')
8-
var render = require('simulacra/render')
8+
var render = require('./render.js')
99

1010
var cleaner = new CleanCSS({ level: 2 })
1111

0 commit comments

Comments
 (0)