Update FUNDING.yml #2
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
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created | ||
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages | ||
name: Node.js Package | ||
on: | ||
release: | ||
types: [created] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
- run: npm ci | ||
- run: npm test | ||
publish-npm: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
registry-url: https://registry.npmjs.org/ | ||
- run: npm ci | ||
- run: npm publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.npm_token}} | ||
- name: Deploy Environment | ||
# You may pin to the exact commit or the version. | ||
# uses: parasoft/deploy-environment-action@486e9382c6c2958fcbaad60b895da799d16730c2 | ||
uses: parasoft/deploy-environment-action@1.0.2 | ||
with: | ||
# CTP URL | ||
ctpUrl: | ||
# CTP Username | ||
ctpUsername: | ||
# CTP Password | ||
ctpPassword: | ||
# Name of the system | ||
system: | ||
# Name of the environment | ||
environment: | ||
# Name of the environment instance to provision | ||
instance: | ||
# Fail action and abort on provisioning failure | ||
abortOnFailure: # optional | ||
# Virtual assets in the environment will be replicated on another server | ||
copyToVirtualize: # optional | ||
# The environment assets will be copied to a Virtualize server matching this name | ||
virtServerName: # optional | ||
# The name for the replicated environment can be used to later destroy the environment | ||
newEnvironmentName: # optional | ||
# Duplicate associated data repositories before provisioning | ||
duplicateDataRepo: # optional | ||
# Where to duplicate data repository | ||
duplicateType: # optional | ||
# The host of the data repository server | ||
repoHost: # optional | ||
# The port of the data repository server | ||
repoPort: # optional | ||
# The username of the data repository server | ||
repoUsername: # optional | ||
# The password of the data repository server | ||
repoPassword: # optional | ||