Skip to content

Commit

Permalink
chore: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
juanfran committed Mar 7, 2024
1 parent 0e0be26 commit 7cca9e6
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Continuous Integration

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

permissions:
contents: read

jobs:
test-javascript:
name: JavaScript Tests & Linters
runs-on: ubuntu-latest

steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4

- name: Setup Node.js
id: setup-node
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: npm

- name: Install Dependencies
id: npm-ci
run: npm ci

- name: Lint
id: npm-lint
run: npm run lint

- name: Test
id: npm-test
run: npm run test

0 comments on commit 7cca9e6

Please sign in to comment.