From 05a307d7fd669f96be4bd3f4fad7c6c8e64e17c6 Mon Sep 17 00:00:00 2001 From: Paramtamtam <7326800+tarampampam@users.noreply.github.com> Date: Fri, 1 Apr 2022 12:56:51 +0500 Subject: [PATCH] Update to node 16 (#16) --- .gitattributes | 3 +++ .github/workflows/test.yml | 4 ++-- CHANGELOG.md | 6 ++++++ README.md | 24 ++++++++++++++---------- action.yml | 2 +- docker-compose.yml | 2 +- 6 files changed, 27 insertions(+), 14 deletions(-) diff --git a/.gitattributes b/.gitattributes index af30937..4f3c7f5 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,4 @@ dist/** -diff linguist-generated=true + +# Disable next extensions in project "used languages" list +Makefile linguist-detectable=false diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f28016b..ff6a77d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index aba80ad..a0e7972 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index b8a024d..a58be98 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/action.yml b/action.yml index d1e04e5..91a22cb 100644 --- a/action.yml +++ b/action.yml @@ -26,7 +26,7 @@ outputs: description: Secret value runs: - using: node12 + using: node16 main: dist/index.js branding: diff --git a/docker-compose.yml b/docker-compose.yml index 86cc227..e4b4662 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,7 +5,7 @@ volumes: services: node: - image: node:12-alpine # Image page: + image: node:16-alpine # Image page: 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"