Skip to content

Commit 31c4bb9

Browse files
committed
chore: actions
1 parent 3aa5bb0 commit 31c4bb9

4 files changed

Lines changed: 79 additions & 0 deletions

File tree

.github/FUNDING.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
github: coderaiser
2+
patreon: coderaiser
3+
open_collective: cloudcmd
4+
ko_fi: coderaiser

.github/ISSUE_TEMPLATE.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!--
2+
Thank you for reporting an issue. Please fill in the template below. If unsure
3+
about something, just do as best as you're able.
4+
-->
5+
6+
- **Version** (`npm -v`):
7+
- **Node Version** `node -v`:
8+
- **OS** (`uname -a` on Linux):
9+
- **Browser name/version**:
10+
- **Used Command Line Parameters**:

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<!--
2+
Thank you for making pull request. Please fill in the template below. If unsure
3+
about something, just do as best as you're able.
4+
-->
5+
6+
- [ ] commit message named according to [Contributing Guide](https://github.com/coderaiser/cloudcmd/blob/master/CONTRIBUTING.md "Contributting Guide")
7+
- [ ] `npm run codestyle` is OK
8+
- [ ] `npm test` is OK

.github/workflows/nodejs.yml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: Node CI
2+
on:
3+
- push
4+
- pull_request
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
env:
9+
NAME: ponse
10+
strategy:
11+
matrix:
12+
node-version:
13+
- 22.x
14+
- 24.x
15+
- 25.x
16+
steps:
17+
- uses: actions/checkout@v5
18+
- uses: oven-sh/setup-bun@v2
19+
with:
20+
bun-version: latest
21+
- name: Use Node.js ${{ matrix.node-version }}
22+
uses: actions/setup-node@v6
23+
with:
24+
node-version: ${{ matrix.node-version }}
25+
- name: Install Redrun
26+
run: bun i redrun -g --no-save
27+
- name: Install
28+
run: bun i --no-save
29+
- name: Lint
30+
run: redrun fix:lint
31+
- name: Install Rust
32+
run: rustup update
33+
- uses: actions/cache@v5
34+
with:
35+
path: |
36+
~/.cargo/bin/
37+
~/.cargo/registry/index/
38+
~/.cargo/registry/cache/
39+
~/.cargo/git/db/
40+
target/
41+
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
42+
- name: Typos Install
43+
run: cargo install typos-cli || echo 'already installed'
44+
- name: Typos
45+
run: typos --write-changes
46+
- name: Commit fixes
47+
uses: EndBug/add-and-commit@v9
48+
continue-on-error: true
49+
with:
50+
message: "chore: ${{ env.NAME }}: actions: lint ☘️"
51+
- name: Coverage
52+
run: redrun coverage
53+
- name: Coveralls
54+
uses: coverallsapp/github-action@v2
55+
continue-on-error: true
56+
with:
57+
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)