Skip to content

chore(deps): update actions/checkout action to v3 (#269) #117

chore(deps): update actions/checkout action to v3 (#269)

chore(deps): update actions/checkout action to v3 (#269) #117

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: GoogleCloudPlatform/release-please-action@v2
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: node
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: 16.x
registry-url: 'https://registry.npmjs.org'
- run: yarn install
- run: yarn run test
- run: yarn run build
- uses: codecov/codecov-action@v2
- if: ${{ steps.release.outputs.release_created }}
run: yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}