Skip to content

Commit

Permalink
Merge pull request #44 from Guilded-Bot-NPM/v1.0.3
Browse files Browse the repository at this point in the history
fix: The workflow its works
  • Loading branch information
MDCYT authored Oct 2, 2022
2 parents 870b66f + f70d8f0 commit ec549bc
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ jobs:
run: npm ci
- name: Run tests
run: npm run test
- name: ZIP documentation
run: zip -r package.zip . -x .git\* .github\* node_modules\* package-lock.json docs\* tutorials\* package.zip docs.zip


# New job, this job is called "publish" and will run on the latest version of Ubuntu
Expand All @@ -76,6 +74,14 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 16
- name: ZIP Code
run: zip -r code.zip .
- name: Download JSDoc
run: npm i jsdoc -g
- name: Generate documentation
run: npm run docs-gh
- name: ZIP documentation
run: zip -r docs.zip docs
- name: Create a variable for node-version
# Now, need get the version of the package.json"
run: echo "NODE_VERSION=$(node -p -e "require('./package.json').version")" >> $GITHUB_ENV
Expand All @@ -89,5 +95,5 @@ jobs:
prerelease: false
title: Release ${{ env.NODE_VERSION }}
files: |
docs.zip
package.zip
code.zip
docs.zip

0 comments on commit ec549bc

Please sign in to comment.