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

GitHub Actions #684

Merged
merged 1 commit into from
Dec 11, 2020
Merged
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
51 changes: 51 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: ci
on:
- pull_request
- push

jobs:
Test:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
atom_channel:
- stable
- nightly
steps:
- uses: actions/checkout@v2
- name: Cache
uses: actions/cache@v2
with:
path: |
'node_modules'
'C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140'
key: ${{ runner.os }}-${{ matrix.atom_channel }}-${{ hashFiles('package.json') }}

- uses: UziTech/action-setup-atom@v1
with:
channel: ${{ matrix.atom_channel }}

- name: Install Visual Studio 2015 on Windows
if: ${{ contains(matrix.os, 'windows') }}
run: |
choco install visualcpp-build-tools --version=14.0.25420.1 --ignore-dependencies -y --params "'/IncludeRequired'"
echo ::set-env name=VCTargetsPath::'C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\v140'

- name: Install dependencies
run: apm install

- name: Run tests
run: apm test

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.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 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)

![ci](https://github.com/atom/language-javascript/workflows/ci/badge.svg)
[![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
31 changes: 4 additions & 27 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,6 @@
version: "{build}"

image: Visual Studio 2015

platform: x64
# empty appveyor
build: off

branches:
only:
- master

clone_depth: 10

skip_tags: true

environment:
APM_TEST_PACKAGES:

matrix:
- ATOM_CHANNEL: stable
- ATOM_CHANNEL: beta

install:
- ps: Install-Product node 4

build_script:
- ps: iex ((new-object net.webclient).DownloadString('https://github.com/raw/atom/ci/master/build-package.ps1'))

test: off
deploy: off
only:
- non-existing