Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No docs for pre #558

Merged
merged 2 commits into from
Oct 3, 2024
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
8 changes: 7 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,15 @@ jobs:
cache: pnpm
- run: pnpm i -r
- run: npm run build
- run: npm run docs
- name: Get version of the project
id: vvver
uses: 'euberdeveloper/ga-project-version@main'
- run: npm pkg delete devDependencies scripts pnpm browserslist packageManager
- name: Create Docs
if: contains(steps.vvver.outputs.version, 'pre') == false
run: npm run docs
- name: Deploy Docs
if: contains(steps.vvver.outputs.version, 'pre') == false
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"clean": "rimraf -g build browser bin/*.map && mkdir browser",
"parser": "node bin/peggy.js -c src/opts.mjs",
"examples": "node bin/peggy.js -c docs/js/options.js docs/js/examples.peggy",
"set_version": "package-extract -o lib/version.js -dcs && package-extract -o docs/index.html -r '(?<=https:\\/\\/unpkg.com\\/peggy@)(?<version>\\d+\\.\\d+\\.\\d+)(?=\\/browser\\/peggy\\.min\\.js)'",
"set_version": "package-extract -o lib/version.js -dcs && package-extract -u -o docs/index.html -r '(?<=https:\\/\\/unpkg.com\\/peggy@)(?<version>\\d+\\.\\d+\\.\\d+)(?=\\/browser\\/peggy\\.min\\.js)'",
"lint": "eslint .",
"ts": "tsc --build tsconfig.json",
"docs": "cd docs && npm run build",
Expand Down Expand Up @@ -74,9 +74,9 @@
"express": "4.21.0",
"glob": "^11.0.0",
"jest": "^29.7.0",
"package-extract": "2.2.0",
"package-extract": "2.3.0",
"rimraf": "^5.0.10",
"rollup": "^4.23.0",
"rollup": "^4.24.0",
"rollup-plugin-ignore": "1.0.10",
"source-map": "^0.8.0-beta.0",
"terser": "^5.34.1",
Expand All @@ -98,7 +98,7 @@
"browserslist": [
"defaults, maintained node versions, not op_mini all"
],
"packageManager": "pnpm@9.11.0",
"packageManager": "pnpm@9.12.0",
"engines": {
"node": ">=18"
}
Expand Down
Loading