Add attachTimestamp field #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: test release | |
# https://github.com/product-os/flowzone/tree/master/.github/actions | |
inputs: | |
json: | |
description: "JSON stringified object containing all the inputs from the calling workflow" | |
required: true | |
secrets: | |
description: "JSON stringified object containing all the secrets from the calling workflow" | |
required: true | |
# --- custom environment | |
NODE_VERSION: | |
type: string | |
default: "16.x" | |
VERBOSE: | |
type: string | |
default: "true" | |
on: | |
workflow_dispatch: # Manual trigger event | |
runs: | |
# https://docs.github.com/en/actions/creating-actions/creating-a-composite-action | |
using: "composite" | |
steps: | |
- name: Setup Node.js (Windows) | |
uses: actions/setup-node@v3 | |
if: runner.os == 'Windows' | |
with: | |
node-version: ${{ inputs.NODE_VERSION }} | |
cache: npm | |
- name: Test release (Windows) | |
if: runner.os == 'Windows' | |
shell: bash | |
run: | | |
npm ci | |
npm test |