build(deps): bump tar from 6.1.11 to 6.2.1 in /sample (#230) #1
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: 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 }} |