Skip to content

Commit

Permalink
ci: fixed build command
Browse files Browse the repository at this point in the history
Revert "chore: removed pnpm workspaces"

This reverts commit a8530d2.
  • Loading branch information
prisis committed Oct 9, 2023
1 parent 3746d63 commit aa93564
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 63 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/semantic-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@ jobs:
- name: "npm v8.5+ requires workspaces-update to be set to false"
run: "echo 'workspaces-update=false' >> .npmrc"

- name: "Build package"
run: "pnpm run build:prod"

- name: "Validate package.json"
run: "pnpm run validate:package"

- name: "Build package"
run: "pnpm run build"

- name: "Semantic Release"
if: "success()"
env:
Expand Down
16 changes: 0 additions & 16 deletions .npmrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,6 @@ save-exact=true
dedupe-peer-dependents=true
strict-peer-dependencies=false

public-hoist-pattern[]=secure-password
public-hoist-pattern[]=*types*
public-hoist-pattern[]=zod

# Needed for crud package to work properly. Don't remove the lines.

public-hoist-pattern[]=*prisma*

# Needed for crud package to work properly. Don't remove the lines.

# Needed for api-platform package to work properly. Don't remove the lines.

public-hoist-pattern[]=*redoc*

# Needed for api-platform package to work properly. Don't remove the lines.

# Needed for all package to work properly. Don't remove the lines.

public-hoist-pattern[]=*eslint*
Expand Down
44 changes: 1 addition & 43 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -1,45 +1,3 @@
{
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"main",
"next",
"next-major",
{
"name": "beta",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits"
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits"
}
],
"@semantic-release/changelog",
"@semantic-release/npm",
[
"@semantic-release/github",
{
"successComment": false,
"failComment": false
}
],
[
"@semantic-release/git",
{
"message": "chore(release): ${nextRelease.gitTag} [skip ci]\\n\\n${nextRelease.notes}"
}
]
]
"extends": "@anolilab/semantic-release-preset/npm"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/khalwat/vite-plugin-favicon.git"
"url": "https://github.com/anolilab/unplugin-favicons.git"
},
"funding": [
{
Expand Down

0 comments on commit aa93564

Please sign in to comment.