Skip to content

Commit

Permalink
updating actions to a current node version
Browse files Browse the repository at this point in the history
  • Loading branch information
Henrique Pochmann authored and Henrique Pochmann committed Aug 29, 2024
1 parent 32e46ac commit 4708a9d
Showing 1 changed file with 21 additions and 22 deletions.
43 changes: 21 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,31 @@
name: CI/CD

on:
push:
branches:
- main
pull_request:
branches:
- main
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
build:
runs-on: ubuntu-latest

runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "20"

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install dependencies
run: npm install

- name: Install dependencies
run: npm install
- name: Build project
run: npm run build

- name: Build project
run: npm run build

- name: Run tests
run: npm test
- name: Run tests
run: npm test

0 comments on commit 4708a9d

Please sign in to comment.