Skip to content

Commit

Permalink
Update CI action (#2156)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcustyphoon authored Nov 17, 2024
1 parent 9d175f6 commit a1e6fd6
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,28 @@ name: CI

on:
push:
branches: [ master ]
branches:
- master
pull_request:
branches: [ master ]
branches:
- master

jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: 14
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: npm

- name: Install dependencies
run: npm ci
- name: Install dependencies
run: npm ci

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

0 comments on commit a1e6fd6

Please sign in to comment.