Skip to content
This repository has been archived by the owner on Jan 7, 2025. It is now read-only.

Commit

Permalink
Use github actions (#1048)
Browse files Browse the repository at this point in the history
* Use github actions

* Add ua-parser-js

* fix build failures
  • Loading branch information
jstarry authored Sep 12, 2021
1 parent 6fd939b commit e0fadfe
Show file tree
Hide file tree
Showing 11 changed files with 12,270 additions and 15,115 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/node-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Node.js CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
package: [client, server]

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
- run: cd ${{ matrix.package }}
- run: npm ci
- run: npm run format
- run: npm run lint
- run: npm run build
- run: npm run test
6 changes: 3 additions & 3 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
pull_request_rules:
- name: automatic merge on CI success
conditions:
- status-success=Travis CI - Pull Request
- status-success=Node.js CI
- label=automerge
actions:
merge:
method: rebase
strict: true
- name: remove automerge label on CI failure
conditions:
- status-failure=Travis CI - Pull Request
- status-failure=Node.js CI
- label=automerge
actions:
label:
remove:
- automerge
- name: remove outdated reviews
conditions:
- base=master
- base=main
actions:
dismiss_reviews:
changes_requested: true
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Break Solana Game [![Build Status](https://travis-ci.org/solana-labs/break.svg?branch=master)](https://travis-ci.org/solana-labs/break)
## Break Solana Game [![Build Status](https://github.com/solana-labs/break/actions/workflows/node-ci.yml/badge.svg?branch=main)](https://github.com/solana-labs/break/actions/workflows/node-ci.yml?query=branch%3Amain)

### How it works

Expand Down
Loading

0 comments on commit e0fadfe

Please sign in to comment.