Skip to content

Commit 8558f32

Browse files
authored
feat: all-in-one executable (#12)
BREAKING CHANGE: new package name
1 parent ede4fed commit 8558f32

File tree

97 files changed

+39399
-1054
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+39399
-1054
lines changed

.github/workflows/ci.yml

+29-24
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,40 @@
1-
name: CI
1+
name: CI/CD Pipeline
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
pull_request:
7-
branches: [ main ]
8-
9-
workflow_dispatch:
7+
branches: [main]
108

119
jobs:
12-
13-
main:
14-
name: Default
10+
ci-cd:
1511
runs-on: ubuntu-latest
12+
permissions:
13+
contents: write
14+
issues: write
15+
pull-requests: write
1616
steps:
17-
- name: Checkout
18-
uses: actions/checkout@v3
19-
20-
- name: NPM install
21-
uses: bahmutov/npm-install@v1
17+
- uses: actions/checkout@v4
2218
with:
23-
useLockFile: false
24-
25-
- name: Bootstrap
26-
run: npm run bootstrap
27-
19+
fetch-depth: 0
20+
- uses: actions/setup-node@v4
21+
with:
22+
node-version-file: '.nvmrc'
23+
cache: 'yarn'
24+
- run: yarn install --immutable
25+
- name: Hotfix for yarn bin resolution
26+
run: echo "$PWD/node_modules/.bin" >> $GITHUB_PATH
2827
- name: Lint
29-
run: npm run lint:ci
30-
31-
- name: Build
32-
run: npm run build
33-
28+
run: yarn lint
3429
- name: Test
35-
run: npm run test
30+
run: yarn test
31+
- name: Build
32+
run: yarn build
33+
- name: Smoke test
34+
run: yarn start --help
35+
- name: Release
36+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
37+
env:
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
40+
run: yarn semantic-release

.github/workflows/release.yml

-36
This file was deleted.

.gitignore

+10-5
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,16 @@
22
logs
33
*.log
44
npm-debug.log*
5+
6+
# Yarn
7+
.yarn/*
58
yarn-debug.log*
69
yarn-error.log*
7-
lerna-debug.log*
10+
!.yarn/patches
11+
!.yarn/plugins
12+
!.yarn/releases
13+
!.yarn/sdks
14+
!.yarn/versions
815

916
# Diagnostic reports (https://nodejs.org/api/report.html)
1017
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
@@ -110,12 +117,10 @@ dist
110117
# Generated content
111118
/website
112119

113-
package-lock.json
114-
yarn.lock
115-
.DS_Store
116-
120+
# Husky
117121
.husky
118122

123+
# Secrets
119124
.env
120125
credentials.json
121126
*.secret.*

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
lts/hydrogen
1+
lts/*

0 commit comments

Comments
 (0)