2.4.36 #1097
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
registry-url: https://registry.npmjs.org/ | |
- run: npm install | |
- run: npm install -g codecov | |
- run: npm install -D istanbul remap-istanbul @web-atoms/ts-to-systemjs | |
- run: tsc | |
# - run: node ./node_modules/@web-atoms/ts-to-systemjs/index.js | |
# - run: typedoc --mode modules --out ./docs --tsconfig ./tsconfig.json src --excludeExternals --module umd --name web-atoms-core --excludePrivate --excludeNotExported --exclude "tests/**/*.ts" | |
# - run: node ./node_modules/.bin/istanbul cover ./node_modules/@web-atoms/unit-test/index.js ./dist/test.js | |
- run: npm run test | |
- run: node ./node_modules/.bin/remap-istanbul -i ./coverage/coverage.json -t json -o ./coverage/coverage.json | |
- run: codecov | |
env: | |
CODECOV_TOKEN: ${{secrets.codecov_token}} | |
- run: node ./node_modules/@web-atoms/ts-to-systemjs/index.js | |
- run: npx jex ./build.jsx | |
- run: npm publish --access public | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.npm_token}} | |
# - run: npm install -D typescript typedocs | |
# - run: npx typedoc --mode modules --out ./docs --tsconfig ./tsconfig.json src --excludeExternals --module umd --name @web-atoms/core --excludePrivate --excludeNotExported --exclude "**/tests/**/*" | |
# - run: node ./core-docs/change-name.js | |
# - run: npm publish --access public | |
# env: | |
# NODE_AUTH_TOKEN: ${{secrets.npm_token}} | |
# - run: node ./core-docs/undo.js | |