Skip to content

Instantly share code, notes, and snippets.

@sidneyroberto
Created June 16, 2023 00:12
Show Gist options
  • Save sidneyroberto/e521c1dd4a1a070ac83b2619813401e7 to your computer and use it in GitHub Desktop.
Save sidneyroberto/e521c1dd4a1a070ac83b2619813401e7 to your computer and use it in GitHub Desktop.
name: Node.js CI
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment