Skip to content
This repository has been archived by the owner on Apr 9, 2023. It is now read-only.

Upgrade travis with auto-release and security checks #81

Merged
merged 5 commits into from
Nov 25, 2018

Conversation

byCedric
Copy link
Owner

Linked issue

Because of the latest changes related to Now, we can now perform security checks in the pipeline with the lockfile. I also added semantic release scripts to test what version will be next with the current state of develop. When this is (manually) merged to master, it will perform the release automatically.

Additional context

I see the GitHub fetch tests are failing in Node 8, I'll replace this with whatwg fetch (universal fetch) in another PR.

This makes proper use of the newly added lockfile. It will detect if `npm ci` or `npm install` can be executed and will use the appropriate cache mechanism.

https://docs.travis-ci.com/user/languages/javascript-with-nodejs/#npm-ci-support
This helps a lot ensuring the expected version is generated when actually creating releases.
@vercel
Copy link

vercel bot commented Nov 25, 2018

This pull request is automatically deployed with Now.
To access deployments, click Details below or on the icon next to each push.

@codecov
Copy link

codecov bot commented Nov 25, 2018

Codecov Report

Merging #81 into develop will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop      #81   +/-   ##
========================================
  Coverage    57.42%   57.42%           
========================================
  Files           21       21           
  Lines          101      101           
  Branches        15       15           
========================================
  Hits            58       58           
  Misses          34       34           
  Partials         9        9

@byCedric byCedric merged commit 2b1c545 into develop Nov 25, 2018
@byCedric byCedric deleted the pipeline/travis branch November 25, 2018 14:31
byCedric added a commit that referenced this pull request Nov 28, 2018
* pipeline: simplify travis cache and install scripts

This makes proper use of the newly added lockfile. It will detect if `npm ci` or `npm install` can be executed and will use the appropriate cache mechanism.

https://docs.travis-ci.com/user/languages/javascript-with-nodejs/#npm-ci-support

* pipeline: use latest node and lts versions for testing

* pipeline: add semantic release dry runs in travis

This helps a lot ensuring the expected version is generated when actually creating releases.

* pipeline: add npm audit as mandatory test step

* pipeline: add automatic release script for main branch
byCedric pushed a commit that referenced this pull request Dec 1, 2018
# [0.4.0](0.3.1...0.4.0) (2018-12-01)

### Code refactors

* move user description highlights to github user organism ([#68](#68)) ([2575cec](2575cec))
* remove superseded github mentions ([#84](#84)) ([5e9e513](5e9e513))
* upgrade now to version 12.0.0 ([#74](#74)) ([3878702](3878702))
* upgrade react-scripts to version 2.1.0 ([#73](#73)) ([74e8974](74e8974))
* user molecule layout to allow other content ([#63](#63)) ([d1ad708](d1ad708))

### Documentation changes

* add notice about deployments with now v2 ([#83](#83)) ([167a5f3](167a5f3))

### New features

* implement mention link in user molecule ([#65](#65)) ([0a0cb92](0a0cb92))
* prototype github mentions support as a component ([#56](#56)) ([1788b32](1788b32))
* upgrade to now version 2 ([#79](#79)) ([f97f7ab](f97f7ab))

### Pipeline changes

* escape stylelint file glob ([#64](#64)) ([0cc473f](0cc473f))
* limit node versions because of unexpected fetch behaviour ([#82](#82)) ([eb50a5f](eb50a5f))
* test full build in travis to detect feature issues with cra ([#85](#85)) ([5592f94](5592f94))
* upgrade travis with auto-release and security checks ([#81](#81)) ([da79f78](da79f78))

### Testing updates

* add extra tests to atom components ([#67](#67)) ([41d746c](41d746c))
* add extra tests to github provider ([#66](#66)) ([14d6efa](14d6efa))
* add unit tests for github user organism ([#70](#70)) ([4023dc1](4023dc1))
* add unit tests for user molecule ([#69](#69)) ([84eb513](84eb513))
* clean up dirty tests and add app page component test ([#71](#71)) ([addb123](addb123))
byCedric pushed a commit that referenced this pull request Dec 1, 2018
# [0.4.0](0.3.1...0.4.0) (2018-12-01)

### Code refactors

* move user description highlights to github user organism ([#68](#68)) ([2575cec](2575cec))
* remove superseded github mentions ([#84](#84)) ([5e9e513](5e9e513))
* upgrade now to version 12.0.0 ([#74](#74)) ([3878702](3878702))
* upgrade react-scripts to version 2.1.0 ([#73](#73)) ([74e8974](74e8974))
* user molecule layout to allow other content ([#63](#63)) ([d1ad708](d1ad708))

### Documentation changes

* add notice about deployments with now v2 ([#83](#83)) ([167a5f3](167a5f3))

### New features

* implement mention link in user molecule ([#65](#65)) ([0a0cb92](0a0cb92))
* prototype github mentions support as a component ([#56](#56)) ([1788b32](1788b32))
* upgrade to now version 2 ([#79](#79)) ([f97f7ab](f97f7ab))

### Pipeline changes

* escape stylelint file glob ([#64](#64)) ([0cc473f](0cc473f))
* limit node versions because of unexpected fetch behaviour ([#82](#82)) ([eb50a5f](eb50a5f))
* test full build in travis to detect feature issues with cra ([#85](#85)) ([5592f94](5592f94))
* upgrade travis with auto-release and security checks ([#81](#81)) ([da79f78](da79f78))

### Testing updates

* add extra tests to atom components ([#67](#67)) ([41d746c](41d746c))
* add extra tests to github provider ([#66](#66)) ([14d6efa](14d6efa))
* add unit tests for github user organism ([#70](#70)) ([4023dc1](4023dc1))
* add unit tests for user molecule ([#69](#69)) ([84eb513](84eb513))
* clean up dirty tests and add app page component test ([#71](#71)) ([addb123](addb123))
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant