Skip to content

Commit

Permalink
@8.6.4 - jump-scroll@0.9.19, horizontal-pager@4.2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
localnerve committed Oct 3, 2024
1 parent d8d4e4f commit b9a08d2
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 7 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/deploy-horizontal-pager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,36 @@ on:

jobs:
deploy-horizontal-pager:
if: contains(github.event.comment.body, 'horizontal-pager@')
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Find Commit Message # skip === deploy (not skip)
id: skip-means-deploy
uses: saulmaldonado/skip-workflow@v1.1.1
with:
phrase: 'horizontal-pager@'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Echo Status
shell: bash
run: |
test ${{ steps.skip-means-deploy.outputs.skip }}
if [ $? -eq 0 ]; then
echo "DEPLOY HORIZONTAL-PAGER"
else
echo "SKIP DEPLOY HORIZONTAL-PAGER"
fi
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- name: Install
if: ${{ steps.skip-means-deploy.outputs.skip }}
run: npm ci
- name: Publish horizontal-pager
if: ${{ steps.skip-means-deploy.outputs.skip }}
run: |
npm run build
cd src/horizontal-pager
Expand Down
21 changes: 19 additions & 2 deletions .github/workflows/deploy-jump-scroll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,36 @@ on:

jobs:
deploy-jump-scroll:
if: contains(github.event.comment.body, 'jump-scroll@')
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Find Commit Message # skip === deploy (not skip)
id: skip-means-deploy
uses: saulmaldonado/skip-workflow@v1.1.1
with:
phrase: 'jump-scroll@'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Echo Status
shell: bash
run: |
test ${{ steps.skip-means-deploy.outputs.skip }}
if [ $? -eq 0 ]; then
echo "DEPLOY JUMP-SCROLL"
else
echo "SKIP DEPLOY JUMP-SCROLL"
fi
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- name: Install
if: ${{ steps.skip-means-deploy.outputs.skip }}
run: npm ci
- name: Publish jump-scroll
if: ${{ steps.skip-means-deploy.outputs.skip }}
run: |
npm run build
cd src/jump-scroll
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ui-elements",
"version": "8.6.3",
"version": "8.6.4",
"description": "A repo of ui elements",
"main": "index.js",
"repository": {
Expand Down

0 comments on commit b9a08d2

Please sign in to comment.