Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

chore(release): publish #145

chore(release): publish

chore(release): publish #145

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
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 18.x
registry-url: "https://registry.npmjs.org"
- run: yarn install --frozen-lockfile
- run: yarn lint
- run: yarn build
- run: yarn test:node --coverage
- run: yarn test:wasm --coverage
- run: git config user.name "Mattr CI"
- run: git config user.email "ci@mattr.global"
- run: npm whoami
env:
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_TOKEN }}
- run: yarn publish:unstable
env:
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_TOKEN }}
- name: Report Coverage
uses: codecov/codecov-action@29386c70ef20e286228c72b668a06fd0e8399192 # pin@1.5.2
with:
token: ${{ secrets.CODECOV_TOKEN }}