Skip to content

Commit 1de0a13

Browse files
author
chadcarlson
committed
Publish action.
1 parent 6db1ae6 commit 1de0a13

4 files changed

Lines changed: 30 additions & 2 deletions

File tree

.github/workflows/npm-publish.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: Publish (npm)
3+
on:
4+
push: ~
5+
6+
jobs:
7+
deploy:
8+
name: Publish to npm
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- uses: actions/setup-node@v2
13+
with:
14+
node-version: '10.x'
15+
registry-url: 'https://registry.npmjs.org'
16+
- run: npm install
17+
- run: npm publish
18+
env:
19+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ node_modules
1111
lib
1212

1313
package-lock.json
14-
.github/workflows/npm-publish.yaml

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
# Changelog
22

3-
## [2.4.0] - 2020-11-17
3+
## [2.4.0] - 2021-02-03
44

55
### Added
66

7+
* GitHub actions for tests (`quality-assurance.yaml`) and publishing to npm (`npm-publish.yaml`).
8+
9+
### Changed
10+
711
* `config` method can now get an object `{ varPrefix: string }` to specify a different environment variables prefix.
812

13+
### Removed
14+
15+
* CircleCI action config.
16+
917
## [2.3.1] - 2019-11-04
1018

1119
### Added

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Platform.sh Config Reader (Node.js)
22

3+
![Quality Assurance](https://github.com/platformsh/config-reader-nodejs/workflows/Quality%20Assurance/badge.svg)
4+
35
This library provides a streamlined and easy to use way to interact with a Platform.sh environment. It offers utility methods to access routes and relationships more cleanly than reading the raw environment variables yourself.
46

57
This library requires Node.js 10 or later.

0 commit comments

Comments
 (0)