doc: added _dateAdd to /node-example and /typescript in examples folder #187
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: CI | |
on: | |
pull_request: | |
push: | |
release: | |
types: [published] | |
env: | |
IMAGE_ID: ${{ github.repository }} | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Build | |
run: | | |
npm i | |
npm run test | |
# semantic-release: | |
# if: github.ref == 'refs/heads/master' | |
# name: Semantic Release | |
# runs-on: ubuntu-latest | |
# needs: build | |
# steps: | |
# - uses: actions/checkout@v3 | |
# with: | |
# token: ${{ secrets.GITHUB_TOKEN }} | |
# - name: Semantic Release | |
# uses: cycjimmy/semantic-release-action@v3 | |
# with: | |
# extra_plugins: | | |
# @semantic-release/changelog | |
# @semantic-release/git | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |