Skip to content

Commit

Permalink
Test action checks
Browse files Browse the repository at this point in the history
  • Loading branch information
ryangoree committed Dec 20, 2023
1 parent 2f3e3c3 commit 491eae8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/actions/parse-ref-semver/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
{
"name": "parse-ref-semver",
"version": "1.0.0",
"version": "0.0.0-alpha.1",
"private": true,
"license": "MIT",
"type": "module",
"main": "dist/index.js",
"exports": "./dist/index.js",
"files": [
"action.yml",
"dist"
],
"scripts": {
"build": "ncc build index.js -o dist"
},
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/test-parse-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,11 @@ jobs:
echo "patch=${{ steps.parse.outputs.patch }}"
echo "prerelease=${{ steps.parse.outputs.prerelease }}"
echo "build=${{ steps.parse.outputs.build }}"
- name: publish next
if: steps.parse.outputs.prerelease
run: echo "publish next"

- name: publish latest
if: !steps.parse.outputs.prerelease
run: echo "publish latest"

0 comments on commit 491eae8

Please sign in to comment.