Skip to content

Commit

Permalink
ci: switch to GHA (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsanders11 authored Nov 6, 2024
1 parent 68c8233 commit 9840758
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 24 deletions.
23 changes: 0 additions & 23 deletions .circleci/config.yml

This file was deleted.

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

on:
push:
branches:
- main
pull_request:
branches:
- main

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
name: Test
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag: v4.2.2
with:
fetch-depth: 1
- name: Setup Node.js
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # tag: v4.1.0
with:
node-version: lts/-1
- name: Cache node_modules
id: cache-node-modules
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # tag: v4.1.2
with:
path: node_modules
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}-node-modules
- name: Install
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: yarn --frozen-lockfile
- name: Lint
run: yarn lint
- name: Test
run: yarn test
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![CircleCI](https://circleci.com/gh/electron/roller.svg?style=svg)](https://circleci.com/gh/electron/roller)
[![Test](https://github.com/electron/roller/actions/workflows/test.yml/badge.svg)](https://github.com/electron-roller/actions/workflows/test.yml)

# Roller

Expand Down

0 comments on commit 9840758

Please sign in to comment.