Skip to content

Commit

Permalink
feat: updating ci
Browse files Browse the repository at this point in the history
  • Loading branch information
HinsonSIDAN committed Jun 27, 2024
1 parent 068043f commit 99da28e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,21 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Pages
uses: actions/configure-pages@v5

- name: Install dependencies and build docs
run: |
yarn install
yarn rust:doc
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Force correct file permissions
run: |
chmod -c +rX "packages/target/doc/.lock" &
chmod -c -R +rX "packages/target/doc" |
while read line; do
echo "::warning title=Invalid file permissions automatically fixed::$line"
done
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"js:publish-browser": "npm run core:build-browser && npm run js:prepublish && node ./scripts/publish-helper -browser && cd publish && npm publish --access public",
"js:publish-asm": "npm run core:build-asm && npm run js:prepublish && node ./scripts/publish-helper -asmjs && cd publish && npm publish --access public",
"js:ts-json-gen": "cd packages/sidan-csl-rs/json-gen && cargo +stable run && cd ../.. && node ./scripts/run-json2ts.js && node ./scripts/json-ts-types.js",
"rust:doc": "cargo doc --workspace --manifest-path packages/Cargo.toml --no-deps"
"rust:doc": "RUSTDOCFLAGS=\"--cfg docsrs\" cargo doc --workspace --manifest-path packages/Cargo.toml --no-deps"
},
"husky": {
"hooks": {
Expand Down

0 comments on commit 99da28e

Please sign in to comment.