Skip to content

Commit

Permalink
fix: ci work flow
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Apr 1, 2021
1 parent 18310f3 commit 3164b76
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 35 deletions.
68 changes: 34 additions & 34 deletions .github/workflows/automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,43 +4,43 @@ name: CI
branches:
- master
jobs:
# about:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v2
# - name: Jaid/action-sync-node-meta
# uses: jaid/action-sync-node-meta@v1.4.0
# with:
# direction: overwrite-github
# githubToken: '${{ secrets.GITHUB }}'
# release:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v2
# - name: Semantic Release
# uses: cycjimmy/semantic-release-action@v2
# id: semantic
# with:
# extra_plugins: |
# @semantic-release/changelog
# @semantic-release/npm
# @semantic-release/git
# @semantic-release/github
# env:
# GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
# NPM_TOKEN: '${{ secrets.NPM_TOKEN }}'
# outputs:
# new_release_published: '${{ steps.semantic.outputs.new_release_published }}'
# new_release_version: '${{ steps.semantic.outputs.new_release_version }}'
about:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Jaid/action-sync-node-meta
uses: jaid/action-sync-node-meta@v1.4.0
with:
direction: overwrite-github
githubToken: '${{ secrets.GITHUB }}'
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v2
id: semantic
with:
extra_plugins: |
@semantic-release/changelog
@semantic-release/npm
@semantic-release/git
@semantic-release/github
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
NPM_TOKEN: '${{ secrets.NPM_TOKEN }}'
outputs:
new_release_published: '${{ steps.semantic.outputs.new_release_published }}'
new_release_version: '${{ steps.semantic.outputs.new_release_version }}'

cdn:
runs-on: ubuntu-latest
# needs: release
# if: needs.release.outputs.new_release_published == 'true'
# env:
# VERSION: '${{ needs.release.outputs.new_release_version }}'
needs: release
if: needs.release.outputs.new_release_published == 'true'
env:
VERSION: '${{ needs.release.outputs.new_release_version }}'
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ignore
node_modules
dist
; !dist/CoCreate.min.js
!dist/CoCreate.min.js

0 comments on commit 3164b76

Please sign in to comment.