Skip to content

Commit

Permalink
ci: switch to GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
dsanders11 committed Jan 15, 2025
1 parent af56f3a commit 0932588
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 19 deletions.
15 changes: 0 additions & 15 deletions .circleci/config.yml

This file was deleted.

34 changes: 34 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Test

on:
workflow_dispatch:
schedule:
- cron: '0 19 * * 1-5'
push:
branches:
- main
pull_request:
branches:
- main

permissions:
contents: read

jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Node.js
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Lint
run: yarn lint
- name: Test
run: yarn test
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
22
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[![CircleCI](https://dl.circleci.com/status-badge/img/gh/electron/trop/tree/main.svg?style=shield)](https://dl.circleci.com/status-badge/redirect/gh/electron/trop/tree/main)

# trop

[![Test](https://github.com/electron/trop/actions/workflows/test.yml/badge.svg)](https://github.com/electron/trop/actions/workflows/test.yml)

> a GitHub App built with [probot](https://github.com/probot/probot) that automates the process of backporting features and bugfixes.
```js
Expand All @@ -25,7 +25,6 @@ npm install
npm start
```


## Documentation

To learn how to use `trop`, see [usage](docs/usage.md).
Expand Down

0 comments on commit 0932588

Please sign in to comment.