Skip to content

Commit

Permalink
chore: use node version from nvmrc in github action
Browse files Browse the repository at this point in the history
  • Loading branch information
justmoon committed May 28, 2023
1 parent 82e3a80 commit 0736cf7
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Node.js CI
name: Dassie CI

on:
push:
Expand All @@ -15,19 +12,18 @@ jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [ 20.x ]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Read .nvmrc
run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_OUTPUT
id: nvmrc

- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version: "${{ steps.nvmrc.outputs.NVMRC }}"

- uses: pnpm/action-setup@v2
name: Install pnpm
Expand Down

1 comment on commit 0736cf7

@vercel
Copy link

@vercel vercel bot commented on 0736cf7 May 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

dassieland – ./

dassieland-justmoon.vercel.app
dassieland.vercel.app
dassieland-git-main-justmoon.vercel.app

Please sign in to comment.