Skip to content

Commit

Permalink
feat: all-in-one executable (#12)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: new package name
  • Loading branch information
noomorph authored Oct 21, 2024
1 parent ede4fed commit 8558f32
Show file tree
Hide file tree
Showing 97 changed files with 39,399 additions and 1,054 deletions.
53 changes: 29 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,40 @@
name: CI
name: CI/CD Pipeline

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

workflow_dispatch:
branches: [main]

jobs:

main:
name: Default
ci-cd:
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v3

- name: NPM install
uses: bahmutov/npm-install@v1
- uses: actions/checkout@v4
with:
useLockFile: false

- name: Bootstrap
run: npm run bootstrap

fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- run: yarn install --immutable
- name: Hotfix for yarn bin resolution
run: echo "$PWD/node_modules/.bin" >> $GITHUB_PATH
- name: Lint
run: npm run lint:ci

- name: Build
run: npm run build

run: yarn lint
- name: Test
run: npm run test
run: yarn test
- name: Build
run: yarn build
- name: Smoke test
run: yarn start --help
- name: Release
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: yarn semantic-release
36 changes: 0 additions & 36 deletions .github/workflows/release.yml

This file was deleted.

15 changes: 10 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,16 @@
logs
*.log
npm-debug.log*

# Yarn
.yarn/*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

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

package-lock.json
yarn.lock
.DS_Store

# Husky
.husky

# Secrets
.env
credentials.json
*.secret.*
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lts/hydrogen
lts/*
Loading

0 comments on commit 8558f32

Please sign in to comment.