Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
b3n4kh committed May 15, 2024
1 parent d49cf4d commit 00bdd32
Show file tree
Hide file tree
Showing 4 changed files with 1,366 additions and 4,922 deletions.
27 changes: 11 additions & 16 deletions .github/workflows/build-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,34 +9,29 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '16'
- run: npm install
node-version: '20'
- run: npm ci
- run: npm run wp
- name: Upload build result
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: dist
path: dist
path: dist/

deploy:
runs-on: ubuntu-latest
needs: build
if: ${{ startsWith(github.ref, 'refs/tags/') }}
steps:
- name: Download build result
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: dist
- uses: "marvinpinto/action-automatic-releases@latest"
- name: bundle result
run: tar czf fabric.tar.gz ux.js main.js index.html styles.css
- uses: ncipollo/release-action@v1
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: false
files: |
ux.js
main.js
index.html
artifacts: "fabric.tar.gz,main.js,ux.js,index.html,styles.css"
Loading

0 comments on commit 00bdd32

Please sign in to comment.