Skip to content

2.4.35

2.4.35 #1096

Workflow file for this run

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: 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