switch CI provider
This commit is contained in:
parent
9a8a705444
commit
81b139f4f4
3 changed files with 40 additions and 39 deletions
|
@ -1,38 +0,0 @@
|
||||||
version: 2.1
|
|
||||||
|
|
||||||
commands:
|
|
||||||
run-tests:
|
|
||||||
steps:
|
|
||||||
- checkout
|
|
||||||
- restore_cache:
|
|
||||||
key: dependency-cache-{{ checksum "package.json" }}
|
|
||||||
- run:
|
|
||||||
name: Installing Dependencies
|
|
||||||
command: npm install
|
|
||||||
- save_cache:
|
|
||||||
key: dependency-cache-{{ checksum "package.json" }}
|
|
||||||
paths:
|
|
||||||
- ./node_modules
|
|
||||||
- run:
|
|
||||||
name: Lint Source
|
|
||||||
command: npm run test
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
node-latest:
|
|
||||||
docker:
|
|
||||||
- image: circleci/node:latest
|
|
||||||
steps:
|
|
||||||
- run-tests
|
|
||||||
|
|
||||||
node-lts:
|
|
||||||
docker:
|
|
||||||
- image: circleci/node:lts
|
|
||||||
steps:
|
|
||||||
- run-tests
|
|
||||||
|
|
||||||
workflows:
|
|
||||||
node-multi-build:
|
|
||||||
jobs:
|
|
||||||
- node-latest
|
|
||||||
- node-lts
|
|
||||||
version: 2
|
|
38
.github/workflows/default.yml
vendored
Normal file
38
.github/workflows/default.yml
vendored
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
name: CI
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
default:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
node-version: ['*', 'lts/*']
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 4
|
||||||
|
|
||||||
|
- uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
|
- name: Cache pnpm modules
|
||||||
|
uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: ~/.pnpm-store
|
||||||
|
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-
|
||||||
|
|
||||||
|
- uses: pnpm/action-setup@v2
|
||||||
|
with:
|
||||||
|
version: 6
|
||||||
|
run_install: |
|
||||||
|
- recursive: true
|
||||||
|
- args: [--frozen-lockfile, --strict-peer-dependencies]
|
||||||
|
|
||||||
|
- name: Run Tests
|
||||||
|
run: pnpm run test --if-present
|
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
[](https://www.npmjs.org/package/cc-md)
|
[](https://www.npmjs.org/package/cc-md)
|
||||||
[](https://www.npmjs.org/package/cc-md)
|
[](https://www.npmjs.org/package/cc-md)
|
||||||
[](https://circleci.com/gh/idleberg/Creative-Commons-Markdown)
|
[](https://github.com/idleberg/Creative-Commons-Markdown/actions)
|
||||||
|
|
||||||
|
|
||||||
On November 25th, 2013, [Creative Commons](http://creativecommons.org/) announced their next generation licenses: [Creative Commons 4.0](https://creativecommons.org/weblog/entry/40768). By default, these are available as [HTML](http://creativecommons.org/licenses/) or [plaintext](http://creativecommons.org/weblog/entry/41127). This project adds [Markdown](http://daringfireball.net/projects/markdown/)-formatted licenses to that list, while aiming for best [compatibility on GitHub](https://github.github.com/gfm/).
|
On November 25th, 2013, [Creative Commons](http://creativecommons.org/) announced their next generation licenses: [Creative Commons 4.0](https://creativecommons.org/weblog/entry/40768). By default, these are available as [HTML](http://creativecommons.org/licenses/) or [plaintext](http://creativecommons.org/weblog/entry/41127). This project adds [Markdown](http://daringfireball.net/projects/markdown/)-formatted licenses to that list, while aiming for best [compatibility on GitHub](https://github.github.com/gfm/).
|
||||||
|
|
||||||
|
|
Reference in a new issue