Skip to content

Commit

Permalink
feat: update action to use node16
Browse files Browse the repository at this point in the history
  • Loading branch information
aaneitchik authored Dec 7, 2022
1 parent 3aa34e2 commit f6a9327
Show file tree
Hide file tree
Showing 7 changed files with 20,908 additions and 174 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/continuous-delivery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,11 @@ jobs:
fetch-depth: 0
persist-credentials: false
- name: Setup Node.js
uses: actions/[email protected]
- name: Cache dependencies
uses: actions/cache@v3
uses: actions/setup-node@v3
with:
key: npm-${{ hashFiles('./package-lock.json') }}
path: ~/.npm
restore-keys: |
npm-
cache: 'npm'
node-version-file: '.nvmrc'
registry-url: 'https://npm.pkg.github.com'
- name: Install dependencies
run: npm ci --ignore-scripts --no-audit --no-progress --prefer-offline
- name: Build
Expand Down
65 changes: 20 additions & 45 deletions .github/workflows/continuous-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,11 @@ jobs:
with:
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@v3.5.1
uses: actions/setup-node@v3
with:
node-version: 12
- name: Cache dependencies
uses: actions/cache@v3
with:
key: npm-${{ hashFiles('./package-lock.json') }}
path: ~/.npm
restore-keys: |
npm-
cache: 'npm'
node-version-file: '.nvmrc'
registry-url: 'https://npm.pkg.github.com'
- name: Install dependencies
run: npm ci --ignore-scripts --no-audit --no-progress --prefer-offline
- name: Format
Expand All @@ -42,16 +37,11 @@ jobs:
with:
persist-credentials: false
- name: Setup Node.js
uses: actions/[email protected]
with:
node-version: 12
- name: Cache dependencies
uses: actions/cache@v3
uses: actions/setup-node@v3
with:
key: npm-${{ hashFiles('./package-lock.json') }}
path: ~/.npm
restore-keys: |
npm-
cache: 'npm'
node-version-file: '.nvmrc'
registry-url: 'https://npm.pkg.github.com'
- name: Install dependencies
run: npm ci --ignore-scripts --no-audit --no-progress --prefer-offline
- name: Lint
Expand All @@ -66,16 +56,11 @@ jobs:
with:
persist-credentials: false
- name: Setup Node.js
uses: actions/[email protected]
with:
node-version: 12
- name: Cache dependencies
uses: actions/cache@v3
uses: actions/setup-node@v3
with:
key: npm-${{ hashFiles('./package-lock.json') }}
path: ~/.npm
restore-keys: |
npm-
cache: 'npm'
node-version-file: '.nvmrc'
registry-url: 'https://npm.pkg.github.com'
- name: Install dependencies
run: npm ci --ignore-scripts --no-audit --no-progress --prefer-offline
- name: Spellcheck
Expand All @@ -90,16 +75,11 @@ jobs:
with:
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@v3.5.1
uses: actions/setup-node@v3
with:
node-version: 12
- name: Cache dependencies
uses: actions/cache@v3
with:
key: npm-${{ hashFiles('./package-lock.json') }}
path: ~/.npm
restore-keys: |
npm-
cache: 'npm'
node-version-file: '.nvmrc'
registry-url: 'https://npm.pkg.github.com'
- name: Install dependencies
run: npm ci --ignore-scripts --no-audit --no-progress --prefer-offline
- name: Test
Expand All @@ -118,16 +98,11 @@ jobs:
with:
persist-credentials: false
- name: Setup Node.js
uses: actions/[email protected]
with:
node-version: 12
- name: Cache dependencies
uses: actions/cache@v3
uses: actions/setup-node@v3
with:
key: npm-${{ hashFiles('./package-lock.json') }}
path: ~/.npm
restore-keys: |
npm-
cache: 'npm'
node-version-file: '.nvmrc'
registry-url: 'https://npm.pkg.github.com'
- name: Install dependencies
run: npm ci --ignore-scripts --no-audit --no-progress --prefer-offline
- name: Types
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v16
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<!-- cspell:ignore YALM -->

[![license](https://img.shields.io/github/license/ridedott/release-me-action)](https://github.com/ridedott/release-me-action/blob/master/LICENSE)
[![GitHub Actions Status](https://github.com/ridedott/release-me-action/workflows/Continuous%20Integration/badge.svg?branch=master)](https://github.com/ridedott/release-me-action/actions)
[![GitHub Actions Status](https://github.com/ridedott/release-me-action/workflows/Continuous%20Delivery/badge.svg?branch=master)](https://github.com/ridedott/release-me-action/actions)
Expand Down Expand Up @@ -82,7 +80,7 @@ steps:
# Loads a custom Semantic Release configuration from this file. See
# https://semantic-release.gitbook.io/semantic-release/usage/configuration#configuration-file.
# Provided configuration will be shallow merged with defaults. Supported
# formats are YALM or CommonJS.
# formats are YAML or CommonJS.
config-file: ./path/to/config.yaml
# Specify additional semantic-release plugins to install. Accepts packages
# in typical package.json format.
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ outputs:
name: Release me!
runs:
main: dist/index.js
using: node12
using: node16
Loading

0 comments on commit f6a9327

Please sign in to comment.