Skip to content

Commit 43034bf

Browse files
committed
CI Update
1 parent 7105940 commit 43034bf

File tree

8 files changed

+3229
-3581
lines changed

8 files changed

+3229
-3581
lines changed

.circleci/config.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.

.github/workflows/publish.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Publish
2+
on:
3+
release:
4+
types: [published]
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
permissions:
10+
contents: read
11+
id-token: write
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Install pnpm
15+
uses: pnpm/action-setup@v4
16+
with:
17+
version: 8
18+
- uses: actions/setup-node@v4
19+
with:
20+
node-version: 16
21+
registry-url: https://registry.npmjs.org/
22+
cache: pnpm
23+
- run: pnpm install
24+
- run: pnpm test
25+
- run: pnpm publish --no-git-checks --access public
26+
env:
27+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

.github/workflows/test.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Test
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
branches:
8+
- master
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
permissions:
14+
contents: read
15+
id-token: write
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Install pnpm
19+
uses: pnpm/action-setup@v4
20+
with:
21+
version: 8
22+
- uses: actions/setup-node@v4
23+
with:
24+
node-version: 16
25+
cache: pnpm
26+
- run: pnpm install
27+
- run: pnpm test

FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
patreon: ags131
2-
github: [ags131]
2+
github: [AlinaNova21]

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
## MongoDB And Redis for the Screeps Private Server
44

55
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
6-
[![CircleCI](https://circleci.com/gh/ScreepsMods/screepsmod-mongo/tree/master.svg?style=shield)](https://circleci.com/gh/ScreepsMods/screepsmod-mongo/tree/master)
6+
![Test](https://github.com/github/docs/actions/workflows/test.yml/badge.svg)
7+
![Publish](https://github.com/github/docs/actions/workflows/publish.yml/badge.svg)
8+
79

810
## Requirements
911

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"devDependencies": {
1111
"publish": "^0.6.0",
12-
"standard": "14.3.3"
12+
"standard": "17.1.2"
1313
},
1414
"screeps_mod": true,
1515
"keywords": [
@@ -19,13 +19,13 @@
1919
"author": "Adam Shumann",
2020
"license": "MIT",
2121
"dependencies": {
22-
"body-parser": "^1.19.0",
23-
"express": "^4.17.1",
24-
"ini": "^1.3.4",
22+
"body-parser": "^1.20.3",
23+
"express": "^4.21.2",
24+
"ini": "^1.3.8",
2525
"lodash": "^4.17.21",
26-
"mongodb": "^3.5.5",
26+
"mongodb": "^3.7.4",
2727
"q": "^1.5.1",
2828
"q-json-response": "^0.1.3",
29-
"redis": "^3.0.2"
29+
"redis": "^3.1.2"
3030
}
3131
}

0 commit comments

Comments
 (0)