Skip to content

chore(release): publish without node 14.x #216

chore(release): publish without node 14.x

chore(release): publish without node 14.x #216

Workflow file for this run

name: push-master
on:
push:
branches:
- master
jobs:
build_test_publish:
name: Build, test, and publish unstable release
if: "contains(github.event.head_commit.message, 'chore(release): publish')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 18.x
- run: yarn
- run: yarn install --frozen-lockfile
- run: yarn lint
- run: yarn build
- run: yarn test --coverage
- run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc 2> /dev/null
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPMJS_TOKEN }}
- run: git config user.name "Mattr CI"
- run: git config user.email "[email protected]"
- run: yarn publish:unstable:ts
- name: Report Coverage
uses: codecov/codecov-action@29386c70ef20e286228c72b668a06fd0e8399192 # [email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}