Skip to content

chore(deps): update dependency @1stg/lib-config to v13 #438

chore(deps): update dependency @1stg/lib-config to v13

chore(deps): update dependency @1stg/lib-config to v13 #438

Workflow file for this run

name: Node CI
on: [push, pull_request]
jobs:
default:
strategy:
matrix:
node: [12]
os: [macOS-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Setup yarn
run: |
curl -o- -L https://yarnpkg.com/install.sh | bash
export PATH="$HOME/.yarn/bin:$PATH"
- name: Install Dependencies
run: yarn --frozen-lockfile
- name: Build, Lint and Test
run: |
yarn lint
yarn test
yarn build
env:
EFF_NO_LINK_RULES: 'true'
PARSER_NO_WATCH: 'true'
- name: Codecov
if: matrix.os == 'macOS-latest'
run: |
yarn global add codecov codacy-coverage
codecov
cat ./coverage/lcov.info | codacy-coverage -u rx-ts -n rollup
env:
CI: 'true'
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
CODACY_ACCOUNT_TOKEN: ${{ secrets.CODACY_ACCOUNT_TOKEN }}
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
- name: Code Checks
if: matrix.os == 'macOS-latest' && github.event_name == 'push'
run: |
yarn global add @codechecks/client @codechecks/build-size-watcher @codechecks/type-coverage-watcher typescript
codechecks
env:
CI: 'true'
CC_SECRET: ${{ secrets.CC_SECRET }}
- name: Publish GitHub Release and npm Package
if: matrix.os == 'macOS-latest' && github.event_name == 'push' && github.ref == 'refs/heads/master'
run: |
git remote set-url origin "https://$GITHUB_ACTOR:$GH_TOKEN@github.com/$GITHUB_REPOSITORY.git"
git checkout master
npm set //registry.npmjs.org/:_authToken $NPM_TOKEN
yarn lerna publish --create-release github --yes
env:
CI: 'true'
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish beta npm Package
if: matrix.os == 'macOS-latest' && github.event_name == 'push' && github.ref == 'refs/heads/develop'
run: |
npm set //registry.npmjs.org/:_authToken $NPM_TOKEN
yarn lerna publish --canary --conventional-prerelease --force-publish --preid beta --pre-dist-tag beta --yes
env:
CI: 'true'
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}