Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,13 @@ jobs:
filter: tree:0
fetch-depth: 0

- uses: pnpm/action-setup@v4
with:
version: 10
run_install: false

- uses: actions/setup-node@v3
name: Install Node.js
with:
node-version: 20
cache: 'pnpm'
cache: 'npm'

- run: pnpm install --frozen-lockfile
- run: npm ci
- uses: nrwl/nx-set-shas@v4

- run: pnpm run ci
- run: npm run ci:packages
11 changes: 3 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,28 +18,23 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0 # include tags
cache: 'pnpm'

- uses: pnpm/action-setup@v4
with:
version: 10
run_install: false

- name: Install Node.js
uses: actions/setup-node@v4
with:
registry-url: https://registry.npmjs.org/
cache: 'npm'

- name: Install dependencies
run: pnpm install --frozen-lockfile
run: npm ci

- name: config git user
run: |
git config --global user.name "samuelreichor"
git config --global user.email "samuelreichor@gmail.com"

- name: Release a new package
run: pnpm run release
run: npm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,10 @@ vite.config.*.timestamp*
vitest.config.*.timestamp*
test-output
build

# Nuxt dev/build outputs
.output
.data
.nuxt
.nitro
.cache
File renamed without changes.
2 changes: 2 additions & 0 deletions common/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export * from './types/craftTypes'
export * from './constants/constants'
4 changes: 4 additions & 0 deletions common/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"extends": "../tsconfig.base.json",
"include": ["**/*"]
}
Loading
Loading