Skip to content

Build and create zip - IOTA Blog #34

Build and create zip - IOTA Blog

Build and create zip - IOTA Blog #34

name: Build and create zip - IOTA Blog
on:
workflow_dispatch:
push:
branches:
- feat/iota-blog
jobs:
build_create_zip_iota:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Use Node.js 22
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: '22'
- name: Install dependencies && build
run: cd src && npm install && npm run build
- name: Create zip
run: zip -r liebling.zip ./* -x 'node_modules/*' -x '*src*'
- name: 'Upload Artifact'
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: IOTA_Blog
path: liebling.zip
- name: Download all workflow run artifacts
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1