Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert changes to just posting a comment
- Loading branch information
1 parent
ad4e574
commit 92974dd
Showing
4 changed files
with
117 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,88 @@ | ||
version: 2 | ||
|
||
jobs: | ||
noop: | ||
analysis: | ||
docker: | ||
- image: rollupcabal/circleci-node-base:latest | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
key: dependency-cache-{{ checksum "package-lock.json" }} | ||
- run: | ||
name: Installing Dependencies | ||
command: npm ci --ignore-scripts | ||
- run: | ||
name: Running linting | ||
command: npm run ci:lint | ||
- run: | ||
name: Running NPM Security Audit | ||
command: npm run security | ||
- save_cache: | ||
key: dependency-cache-{{ checksum "package-lock.json" }} | ||
paths: | ||
- ./node_modules | ||
node-v10-latest: | ||
docker: | ||
- image: rollupcabal/circleci-node-v10:latest | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
key: dependency-cache-{{ checksum "package-lock.json" }} | ||
- run: | ||
name: Running tests | ||
command: npm run ci:test | ||
node-v12-latest: | ||
docker: | ||
- image: rollupcabal/circleci-node-v12:latest | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
key: dependency-cache-{{ checksum "package-lock.json" }} | ||
- run: | ||
name: Running tests | ||
command: npm run ci:test:only | ||
- store_artifacts: | ||
name: Storing browser build for REPL | ||
path: /home/circleci/project/dist/rollup.browser.js | ||
destination: rollup.browser.js | ||
- run: | ||
name: Post REPL comment | ||
command: ./scripts/post-comment.js | ||
node-v14-latest: | ||
docker: | ||
- image: rollupcabal/circleci-node-v14:latest | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
key: dependency-cache-{{ checksum "package-lock.json" }} | ||
- run: | ||
name: Running tests with coverage | ||
command: npm run ci:coverage | ||
|
||
|
||
workflows: | ||
version: 2 | ||
version: 2 | ||
validate-test: | ||
jobs: | ||
- analysis: | ||
filters: | ||
tags: | ||
only: /.*/ | ||
- node-v10-latest: | ||
requires: | ||
- analysis | ||
filters: | ||
tags: | ||
only: /.*/ | ||
- node-v12-latest: | ||
requires: | ||
- analysis | ||
filters: | ||
tags: | ||
only: /.*/ | ||
- node-v14-latest: | ||
requires: | ||
- analysis | ||
filters: | ||
tags: | ||
only: /.*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Node | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-2019 | ||
|
||
strategy: | ||
matrix: | ||
node: [ '14', '12', '10' ] | ||
|
||
name: ${{ matrix.node }} (Windows) | ||
steps: | ||
- name: Configure git line-breaks | ||
run: git config --global core.autocrlf false | ||
- name: Checkout Commit | ||
uses: actions/checkout@v1 | ||
- name: Setup Node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
- name: Install dependencies | ||
run: npm ci --ignore-scripts | ||
- name: Run tests | ||
run: npm test | ||
env: | ||
CI: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.