Skip to content

Commit

Permalink
Switch to GitHub Actions. (#702)
Browse files Browse the repository at this point in the history
  • Loading branch information
leerob committed Jul 6, 2022
1 parent a6ddfad commit b318e13
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 68 deletions.
26 changes: 0 additions & 26 deletions .circleci/config.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .editorconfig

This file was deleted.

20 changes: 20 additions & 0 deletions .github/actions/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: CI
on:
- push
- pull_request
jobs:
test:
name: Node.js ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 16
- 14
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2018 ZEIT, Inc.
Copyright (c) 2022 Vercel, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const server = http.createServer((request, response) => {
// You pass two more arguments for config and middleware
// More details here: https://github.com/vercel/serve-handler#options
return handler(request, response);
})
});

server.listen(3000, () => {
console.log('Running at http://localhost:3000');
Expand All @@ -84,4 +84,4 @@ This project used to be called "list" and "micro-list". But thanks to [TJ Holowa

## Author

Leo Lamprecht ([@notquiteleo](https://twitter.com/notquiteleo)) - [Vercel](https://vercel.com)
Leo Lamprecht ([@notquiteleo](https://twitter.com/notquiteleo))
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,11 @@
"serve": "./bin/serve.js"
},
"keywords": [
"now",
"vercel",
"serve",
"micro",
"http-server"
],
"author": "leo",
"license": "MIT",
"devDependencies": {
"@zeit/eslint-config-node": "0.3.0",
Expand Down

0 comments on commit b318e13

Please sign in to comment.