Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

use github actions #687

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: "CI"
on:
pull_request:
push:
branches:
- master

env:
CI: true

jobs:
Test:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
channel: [stable, beta]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- uses: UziTech/action-setup-atom@v1
with:
channel: ${{ matrix.channel }}
- name: Atom version
run: atom -v
- name: APM version
run: apm -v
- name: Install dependencies
run: apm ci
- name: Run tests 👩🏾‍💻
run: atom --test spec

Lint:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: NPM install
run: npm ci
- name: Lint ✨
run: npm run lint

Skip:
if: contains(github.event.head_commit.message, '[skip ci]')
runs-on: ubuntu-latest
steps:
- name: Skip CI 🚫
run: echo skip ci
41 changes: 0 additions & 41 deletions .travis.yml

This file was deleted.

3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# JavaScript language support in Atom
[![macOS Build Status](https://travis-ci.org/atom/language-javascript.svg?branch=master)](https://travis-ci.org/atom/language-javascript)
[![Windows Build Status](https://ci.appveyor.com/api/projects/status/ktooccwna96ssiyr/branch/master?svg=true)](https://ci.appveyor.com/project/Atom/language-javascript-dijf8/branch/master)
[![Actions Status](https://github.com/atom/language-javascript/workflows/CI/badge.svg)](https://github.com/atom/language-javascript/actions)
[![Dependency Status](https://david-dm.org/atom/language-javascript.svg)](https://david-dm.org/atom/language-javascript)

Adds syntax highlighting and snippets for JavaScript in Atom.
Expand Down
29 changes: 0 additions & 29 deletions appveyor.yml

This file was deleted.

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
"keywords": [
"tree-sitter"
],
"scripts": {
"test": "atom --test spec",
"lint": "coffeelint ."
},
"devDependencies": {
"coffeelint": "^1.10.1"
},
Expand Down