Skip to content

feat: introduce validate method (#7) #36

feat: introduce validate method (#7)

feat: introduce validate method (#7) #36

Workflow file for this run

# This file was automatically generated by github-actions-wac.
# DO NOT MODIFY IT BY HAND. Instead, modify the source *.wac.ts file(s)
# and run "github-actions-wac build" (or "ghawac build") to regenerate this file.
# For more information, run "github-actions-wac --help".
name: Push to main branch
'on': push
env:
NODE_OPTIONS: '--max_old_space_size=4096'
jobs:
buildTestRelease:
name: Build, test, release
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v2
with:
node-version: 14
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: .yarn/cache
key: yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
run: yarn --immutable
- name: Build
run: yarn build
- name: Test
run: echo 'yarn test'
- name: Prepare for release
run: yarn prepare-dist-for-release
- name: Release
uses: cycjimmy/semantic-release-action@v3
with:
working_directory: ./dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}