Skip to content

Commit 3164c4c

Browse files
committed
Setup GitHub Actions
1 parent 9def817 commit 3164c4c

File tree

3 files changed

+26
-4
lines changed

3 files changed

+26
-4
lines changed

.github/actions/ci-setup/action.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: 'CI setup'
2+
runs:
3+
using: 'composite'
4+
steps:
5+
- name: Use Node.js 20.x
6+
uses: actions/setup-node@v3
7+
with:
8+
node-version: 20.x
9+
10+
- name: Install Dependencies
11+
run: npm install
12+
shell: bash

.github/workflows/ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
timeout-minutes: 20
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v3
11+
- uses: ./.github/actions/ci-setup
12+
13+
- name: Test
14+
run: npm run test

.travis.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)