Skip to content

Commit

Permalink
chore([no ci]): Synced file(s) with salesforcecli/leif (#499)
Browse files Browse the repository at this point in the history
* chore([no ci]): Created local '.github/workflows/test.yml' from remote 'templates/github-oclif/test.yml'

* chore([no ci]): Created local '.github/workflows/onRelease.yml' from remote 'templates/github-oclif/onRelease.yml'
  • Loading branch information
SF-CLI-BOT committed Sep 26, 2022
1 parent fe29bc6 commit c815d48
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/onRelease.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: publish

on:
release:
types: [released]
# support manual release in case something goes wrong and needs to be repeated or tested
workflow_dispatch:
inputs:
tag:
description: tag that needs to publish
type: string
required: true
jobs:
npm:
uses: oclif/github-workflows/.github/workflows/npmPublish.yml@main
with:
tag: latest
githubTag: ${{ github.event.release.tag_name || inputs.tag }}
secrets: inherit
9 changes: 9 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: tests
on:
push:
branches-ignore: [main]
workflow_dispatch:

jobs:
unit-tests:
uses: oclif/github-workflows/.github/workflows/unitTest.yml@main

0 comments on commit c815d48

Please sign in to comment.