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

Commit

Permalink
Merge pull request #899 from atom-community/github-actions-4upstream
Browse files Browse the repository at this point in the history
GitHub actions
  • Loading branch information
darangi authored Mar 4, 2021
2 parents 5576234 + 521b319 commit a6f65c4
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 55 deletions.
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

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
node_version:
- 10
- 12
- 14
node_arch:
- x64
include:
- os: windows-2016
node_version: 12
node_arch: x86
steps:
- uses: actions/checkout@v2

- name: Install Node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node_version }}
architecture: ${{ matrix.node_arch }}

- name: Install npm
run: npm install -g npm

- name: Install dependencies
run: npm install

- if: "!contains(matrix.os, 'windows')"
name: Run tests 👩🏾‍💻
run: ./bin/npm test

Skip:
if: contains(github.event.head_commit.message, '[skip ci]')
runs-on: ubuntu-latest
steps:
- name: Skip CI 🚫
run: echo skip ci
34 changes: 0 additions & 34 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,7 +1,6 @@
# apm - Atom Package Manager

[![Linux Build Status](https://travis-ci.org/atom/apm.svg?branch=master)](https://travis-ci.org/atom/apm)
[![Windows Build Status](https://ci.appveyor.com/api/projects/status/j6ixw374a397ugkb/branch/master?svg=true)](https://ci.appveyor.com/project/Atom/apm/branch/master)
![Build Status](https://github.com/atom-ide-community/apm/workflows/CI/badge.svg)
[![Dependency Status](https://david-dm.org/atom/apm.svg)](https://david-dm.org/atom/apm)

Discover and install Atom packages powered by [atom.io](https://atom.io)
Expand Down
23 changes: 4 additions & 19 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,6 @@
version: "{build}"

image: Visual Studio 2015

platform:
- x86
- x64

environment:
nodejs_version: "10.20.1"

install:
- ps: Install-Product node $env:nodejs_version $env:platform
- npm install -g npm
- npm ci

# empty appveyor
build: off

test: off

deploy: off
branches:
only:
- non-existing

0 comments on commit a6f65c4

Please sign in to comment.