Skip to content

Commit

Permalink
use node 18 in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
peersky committed Mar 26, 2024
1 parent d26eab1 commit 9588e3b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/setup/action.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Setup
description: "Set up the node environment"
description: 'Set up the node environment'
runs:
using: composite
steps:
- uses: actions/setup-node@v4
with:
node-version: lts/*
node-version: 18
- name: Get yarn cache directory path
shell: bash
id: yarn-cache-dir-path
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- uses: "./.github/setup"
node-version: 18
- uses: './.github/setup'
- name: install dependencies
run: yarn install
- name: Creating .npmrc
Expand All @@ -35,8 +35,8 @@ jobs:
with:
publish: yarn run release
version: yarn run version
commit: "chore: new release"
title: "chore: new release candidate"
commit: 'chore: new release'
title: 'chore: new release candidate'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }} #if using NPM packages

0 comments on commit 9588e3b

Please sign in to comment.