Skip to content

v0.0.6

v0.0.6 #6

Workflow file for this run

name: 'publish-action'
on: # rebuild any PRs and main branch changes
release:
types: [created]
permissions:
contents: read
packages: write
jobs:
package-and-publish: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
steps:
- name: Checking out!
uses: actions/checkout@v3
with:
ref: ${{ github.event.payload.release.tag_name}}
# - name: Use Node.js
# uses: actions/setup-node@v3
# with:
# node-version: '12.x'
# - run: npm install
# - run: npm run build --if-present
# Job for Minify-JS
# - name: Minify-JS Action
# uses: jossydevers/[email protected]
# with:
# directory: 'src/component.js' # (OPTIONAL)
# output: 'minify/src/' # (OPTIONAL)
- name: Publish action
uses: actions-on-packages/[email protected]
# with:
# path: 'dist/'