Skip to content

Commit

Permalink
feat: doing a basic upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
aechweeks committed Nov 25, 2024
1 parent 35e4991 commit bab0db5
Show file tree
Hide file tree
Showing 15 changed files with 7,489 additions and 5,411 deletions.
44 changes: 13 additions & 31 deletions .github/workflows/CI-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ on:
push:
branches:
- master
- ci/*
- main
pull_request:

jobs:
build:
Expand All @@ -17,35 +18,16 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: yarn install --pure-lockfile
- run: ./node_modules/.bin/madge -c .
- run: yarn audit
- run: yarn build
- run: yarn lint
- run: yarn test

deploy:
needs: build
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Install semantic-release and plugins
run: |
yarn global add \
semantic-release \
@semantic-release/changelog \
@semantic-release/exec \
@semantic-release/git \
@semantic-release/github \
@semantic-release/npm
- name: Run semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release
node-version: "lts/*"
- name: Install dependencies
run: corepack enable && yarn
- name: Lint
run: yarn lint
- name: Type Check
run: yarn type-check
- name: tesit
run: yarn test

4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
dist/
node_modules/
.env
yarn-*.log
yarn-*.log
.yarn/*
.yarn/cache
2 changes: 0 additions & 2 deletions .npmignore

This file was deleted.

49 changes: 0 additions & 49 deletions .travis.yml_bkp

This file was deleted.

1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
6 changes: 0 additions & 6 deletions babel.config.js

This file was deleted.

18 changes: 18 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"$schema": "https://biomejs.dev/schemas/1.5.2/schema.json",
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "space",
"indentWidth": 2
}
}
15 changes: 0 additions & 15 deletions external-types/semantic-release-error.d.ts

This file was deleted.

5 changes: 5 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
transform: {
'^.+\\.(t|j)sx?$': 'esbuild-jest'
}
};
Loading

0 comments on commit bab0db5

Please sign in to comment.