mirror of
https://github.com/FranzDiebold/github-env-vars-action.git
synced 2024-11-28 11:41:04 -05:00
Merge pull request #60 from jonathanlinat/chore/upgrade_to_node_20
Upgrade to Node 20
This commit is contained in:
commit
1791216cd1
10 changed files with 28635 additions and 7369 deletions
|
@ -1,7 +1,7 @@
|
|||
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.209.6/containers/javascript-node/.devcontainer/base.Dockerfile
|
||||
|
||||
# [Choice] Node.js version (use -bullseye variants on local arm64/Apple Silicon): 16, 14, 12, 16-bullseye, 14-bullseye, 12-bullseye, 16-buster, 14-buster, 12-buster
|
||||
ARG VARIANT="16-bullseye"
|
||||
ARG VARIANT="20-bullseye"
|
||||
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT}
|
||||
|
||||
# [Optional] Uncomment this section to install additional OS packages.
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
// Append -bullseye or -buster to pin to an OS version.
|
||||
// Use -bullseye variants on local arm64/Apple Silicon.
|
||||
"args": {
|
||||
"VARIANT": "16"
|
||||
"VARIANT": "20"
|
||||
}
|
||||
},
|
||||
// Set *default* container specific settings.json values on container create.
|
||||
|
|
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -6,12 +6,12 @@ jobs:
|
|||
lint_and_test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
- uses: actions/setup-node@v3
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 20
|
||||
- name: Install dependencies
|
||||
run: make install
|
||||
- name: Lint
|
||||
|
|
1
.nvmrc
Normal file
1
.nvmrc
Normal file
|
@ -0,0 +1 @@
|
|||
v20
|
4
Makefile
4
Makefile
|
@ -10,6 +10,10 @@ install: ## Install dependencies.
|
|||
lint: ## Lint code.
|
||||
npm run lint
|
||||
|
||||
.PHONY: audit
|
||||
audit: ## Audit and fix NPM vulnerabilities.
|
||||
npm audit fix
|
||||
|
||||
.PHONY: test
|
||||
test: ## Run tests.
|
||||
npm run test
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
[![GitHub Action: View on Marketplace](https://img.shields.io/badge/GitHub%20Action-View_on_Marketplace-28a745?logo=github)](https://github.com/marketplace/actions/github-environment-variables-action)
|
||||
[![Demo: available](https://img.shields.io/badge/Demo-available-orange)](.github/workflows/demo.yml)
|
||||
[![Version: v2.7.0](https://img.shields.io/badge/Version-v2.7.0-brightgreen)](https://github.com/FranzDiebold/github-env-vars-action/releases/tag/v2.7.0)
|
||||
[![Version: v2.8.0](https://img.shields.io/badge/Version-v2.8.0-brightgreen)](https://github.com/FranzDiebold/github-env-vars-action/releases/tag/v2.8.0)
|
||||
[![Lint and Test](https://github.com/FranzDiebold/github-env-vars-action/workflows/Lint%20and%20Test/badge.svg)](https://github.com/FranzDiebold/github-env-vars-action/actions?query=workflow%3A%22Lint+and+Test%22)
|
||||
[![license: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg)](./LICENSE)
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ name: 'GitHub Environment Variables Action'
|
|||
description: 'Expose useful Environment Variables.'
|
||||
author: 'Franz Diebold'
|
||||
runs:
|
||||
using: 'node16'
|
||||
using: 'node20'
|
||||
main: 'dist/index.js'
|
||||
branding:
|
||||
icon: 'plus-circle'
|
||||
|
|
31645
dist/index.js
vendored
31645
dist/index.js
vendored
File diff suppressed because one or more lines are too long
4325
package-lock.json
generated
4325
package-lock.json
generated
File diff suppressed because it is too large
Load diff
15
package.json
15
package.json
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "github-env-vars-action",
|
||||
"version": "2.7.0",
|
||||
"version": "2.8.0",
|
||||
"description": "A GitHub Action to expose useful environment variables.",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
@ -22,14 +22,17 @@
|
|||
"url": "https://github.com/FranzDiebold/github-env-vars-action/issues"
|
||||
},
|
||||
"homepage": "https://github.com/FranzDiebold/github-env-vars-action#readme",
|
||||
"engines": {
|
||||
"node": ">=20"
|
||||
},
|
||||
"dependencies": {
|
||||
"@actions/core": "^1.9.1",
|
||||
"@actions/github": "^5.0.3"
|
||||
"@actions/core": "^1.10.1",
|
||||
"@actions/github": "^6.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vercel/ncc": "^0.34.0",
|
||||
"eslint": "^8.23.1",
|
||||
"@vercel/ncc": "^0.38.1",
|
||||
"eslint": "^8.56.0",
|
||||
"eslint-config-google": "^0.14.0",
|
||||
"jest": "^29.0.3"
|
||||
"jest": "^29.7.0"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue