Skip to content

Commit 6855ca2

Browse files
committed
feat: ci gh actions
1 parent 6b6f841 commit 6855ca2

File tree

3 files changed

+36
-15
lines changed

3 files changed

+36
-15
lines changed

.github/workflows/test.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
branches:
6+
- "*"
7+
tags-ignore:
8+
- gh-pages
9+
- website
10+
pull_request:
11+
branches:
12+
- "*"
13+
14+
jobs:
15+
build:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@v4
20+
21+
- name: Set up Node.js
22+
uses: actions/setup-node@v4
23+
with:
24+
node-version: "10.3.0"
25+
26+
- name: Install dependencies
27+
run: npm install
28+
29+
- name: Build JavaScript
30+
run: CI=true npm run build:js
31+
32+
- name: Lint code
33+
run: CI=true npm run lint
34+
35+
- name: Run tests and upload coverage
36+
run: CI=true npm run test:upload-coverage

.travis.yml

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

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
[![Chrome Web Store](https://img.shields.io/chrome-web-store/v/oaknkllfdceggjpbonhiegoaifjdkfjd)](https://chrome.google.com/webstore/detail/clippy/oaknkllfdceggjpbonhiegoaifjdkfjd)
44
[![Mozilla Add-on](https://img.shields.io/amo/v/clippy-assistant)](https://addons.mozilla.org/en-US/firefox/addon/clippy-assistant/)
5-
[![Build Status](https://travis-ci.org/capJavert/clippy.svg?branch=master)](https://travis-ci.org/capJavert/clippy)
65
[![Coverage Status](https://coveralls.io/repos/github/capJavert/clippy/badge.svg)](https://coveralls.io/github/capJavert/clippy)
76

87
[🇭🇷 Started in Croatia](https://startedincroatia.com)

0 commit comments

Comments
 (0)