Skip to content

Commit

Permalink
Update to node 16 (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarampampam authored Apr 1, 2022
1 parent 7262d1c commit 05a307d
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 14 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
dist/** -diff linguist-generated=true

# Disable next extensions in project "used languages" list
Makefile linguist-detectable=false
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@v2

- uses: actions/setup-node@v3
with: {node-version: '12'}
with: {node-version: '16'}

- uses: actions/cache@v2
id: yarn-cache
Expand All @@ -50,7 +50,7 @@ jobs:
- uses: actions/checkout@v2

- uses: actions/setup-node@v3
with: {node-version: '12'}
with: {node-version: '16'}

- uses: actions/cache@v2
id: yarn-cache
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this package will be documented in this file.

The format is based on [Keep a Changelog][keepachangelog] and this project adheres to [Semantic Versioning][semver].

## v1.1.0

### Changed

- Update to node 16 (Node 12 has an end of life on April 30, 2022)

## v1.0.1

### Fixed
Expand Down
24 changes: 14 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,23 @@ jobs:
Following inputs can be used as `step.with` keys:

Name | Type | Default | Required | Description
-------------- | :----: | :-----: | :------: | -----------
`token` | string | | yes | [Doppler service token](https://docs.doppler.com/docs/enclave-service-tokens)
`project` | string | | yes | [Doppler project name](https://docs.doppler.com/docs/enclave-project-setup)
`config` | string | `prd` | no | [Doppler config](https://docs.doppler.com/docs/enclave-root-configs) (also known as "environment")
`secret-name` | string | | yes | Secret name
`save-to-file` | string | | no | Path to the file for storing the secret
| Name | Type | Default | Required | Description |
|----------------|:------:|:-------:|:--------:|----------------------------------------------------------------|
| `token` | string | | yes | [Doppler service token][doppler-service-tokens] |
| `project` | string | | yes | [Doppler project name][doppler-project-name] |
| `config` | string | `prd` | no | [Doppler config][doppler-config] (also known as "environment") |
| `secret-name` | string | | yes | Secret name |
| `save-to-file` | string | | no | Path to the file for storing the secret |

[doppler-service-tokens]:https://docs.doppler.com/docs/enclave-service-tokens
[doppler-project-name]:https://docs.doppler.com/docs/enclave-project-setup
[doppler-config]:https://docs.doppler.com/docs/enclave-root-configs

#### Outputs

Name | Type | Description
-------- | ------ | -----------
`secret` | String | Secret value
| Name | Type | Description |
|----------|--------|--------------|
| `secret` | String | Secret value |

## Releasing

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ outputs:
description: Secret value

runs:
using: node12
using: node16
main: dist/index.js

branding:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ volumes:

services:
node:
image: node:12-alpine # Image page: <https://hub.docker.com/_/node>
image: node:16-alpine # Image page: <https://hub.docker.com/_/node>
environment:
PS1: '\[\033[1;32m\]\[\033[1;36m\][\u@\h] \[\033[1;34m\]\w\[\033[0;35m\] \[\033[1;36m\]# \[\033[0m\]'
PATH: "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/app/node_modules/.bin"
Expand Down

0 comments on commit 05a307d

Please sign in to comment.