File tree 4 files changed +44
-15
lines changed
4 files changed +44
-15
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
2
+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
3
+
4
+ name : CI (webpack 5)
5
+
6
+ on :
7
+ push :
8
+ branches :
9
+ - master
10
+ - " feature/**"
11
+ pull_request :
12
+ branches : [ "*" ]
13
+
14
+ jobs :
15
+ build :
16
+ runs-on : ubuntu-latest
17
+
18
+ strategy :
19
+ matrix :
20
+ node-version :
21
+ - 14.x
22
+ - 16.x
23
+ - 18.x
24
+ - 20.x
25
+
26
+ steps :
27
+ - uses : actions/checkout@v3
28
+ - name : Using Node.js ${{ matrix.node-version }}
29
+ uses : actions/setup-node@v3
30
+ with :
31
+ node-version : ${{ matrix.node-version }}
32
+ cache : yarn
33
+ - name : Installing dependencies
34
+ run : yarn --frozen-lockfile
35
+ - name : Running unit-tests
36
+ run : yarn test
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -8,10 +8,9 @@ Storing configuration in _environment variables_ separate from code and grouping
8
8
9
9
> backed by [ dotenv-flow] ( https://github.com/kerimdzhanov/dotenv-flow ) , inspired by [ dotenv-webpack] ( https://github.com/mrsteele/dotenv-webpack )
10
10
11
+ [ ![ Build Status] ( https://github.com/kerimdzhanov/dotenv-flow-webpack/actions/workflows/ci.yml/badge.svg?branch=master&event=push )] ( https://github.com/kerimdzhanov/dotenv-flow-webpack/actions/workflows/ci.yml )
11
12
[ ![ npm version] ( https://badge.fury.io/js/dotenv-flow-webpack.svg )] ( https://badge.fury.io/js/dotenv-flow-webpack )
12
- [ ![ Build Status] ( https://travis-ci.com/kerimdzhanov/dotenv-flow-webpack.svg?branch=master )] ( https://travis-ci.com/kerimdzhanov/dotenv-flow-webpack )
13
- [ ![ dependencies status] ( https://david-dm.org/kerimdzhanov/dotenv-flow-webpack/status.svg )] ( https://david-dm.org/kerimdzhanov/dotenv-flow-webpack )
14
-
13
+ [ ![ Known Vulnerabilities] ( https://snyk.io/test/github/kerimdzhanov/dotenv-flow-webpack/badge.svg?targetFile=package.json )] ( https://snyk.io/test/github/kerimdzhanov/dotenv-flow-webpack?targetFile=package.json )
15
14
16
15
## Installation
17
16
Original file line number Diff line number Diff line change 2
2
3
3
## Shipping a new version
4
4
5
- 1 . Ensure you've pushed all the necessary changes to the repo and tests are successfully passed on TravisCI
5
+ 1 . Make sure all the latest changes are pushed to the repo and all the related
6
+ workflow tests are passing on CI (https://github.com/kerimdzhanov/dotenv-flow-webpack/actions )
6
7
2 . Bump up the version in ` package.json `
7
8
3 . Update the ` CHANGELOG.md ` file using ` $ yarn changelog `
8
9
4 . Make a release commit with a message in format ` chore(release): vX.Y.Z `
9
10
5 . Tag the release commit using ` $ git tag vX.Y.X `
10
- 6 . Push the release commit (including the tag) to github ` $ git push && git push --tags `
11
- 7 . Temporary decrease the logo size in ` README.md ` up to 210x230
12
- 8 . Publish the new package version using ` $ npm publish `
13
- 9 . Reset the logo size to the original
11
+ 6 . Push the release commit and tag to github ` $ git push && git push --tags `
12
+ 7 . Temporary decrease the logo size in ` README.md ` up to 210x230 (to make it look perfect on npmjs.org)
13
+ 8 . Publish the new package version using ` $ yarn publish `
14
+ 9 . Reset the logo size back to original
You can’t perform that action at this time.
0 commit comments