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

Commit e0fadfe

Browse files
authored
Use github actions (#1048)
* Use github actions * Add ua-parser-js * fix build failures
1 parent 6fd939b commit e0fadfe

File tree

11 files changed

+12270
-15115
lines changed

11 files changed

+12270
-15115
lines changed

.github/workflows/node-ci.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Node.js CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
matrix:
15+
package: [client, server]
16+
17+
steps:
18+
- uses: actions/checkout@v2
19+
- uses: actions/setup-node@v2
20+
with:
21+
node-version: '14'
22+
- run: cd ${{ matrix.package }}
23+
- run: npm ci
24+
- run: npm run format
25+
- run: npm run lint
26+
- run: npm run build
27+
- run: npm run test

.mergify.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
pull_request_rules:
22
- name: automatic merge on CI success
33
conditions:
4-
- status-success=Travis CI - Pull Request
4+
- status-success=Node.js CI
55
- label=automerge
66
actions:
77
merge:
88
method: rebase
99
strict: true
1010
- name: remove automerge label on CI failure
1111
conditions:
12-
- status-failure=Travis CI - Pull Request
12+
- status-failure=Node.js CI
1313
- label=automerge
1414
actions:
1515
label:
1616
remove:
1717
- automerge
1818
- name: remove outdated reviews
1919
conditions:
20-
- base=master
20+
- base=main
2121
actions:
2222
dismiss_reviews:
2323
changes_requested: true

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Break Solana Game [![Build Status](https://travis-ci.org/solana-labs/break.svg?branch=master)](https://travis-ci.org/solana-labs/break)
1+
## 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)
22

33
### How it works
44

0 commit comments

Comments
 (0)