2.4.25 #1086
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@v1 | |
- uses: actions/[email protected] | |
with: | |
node-version: 16 | |
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: 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 | |