Skip to content

feat: Add an iCON V1-M script variant #356

feat: Add an iCON V1-M script variant

feat: Add an iCON V1-M script variant #356

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "lts/*"
- name: Install dependencies
run: npm ci
- name: Build scripts
run: npm run build
- name: Upload scripts
uses: actions/upload-artifact@v3
if: github.ref != 'refs/heads/main' && matrix.os == 'ubuntu-latest'
with:
name: scripts
path: dist/
release:
name: Release
runs-on: ubuntu-latest
needs: build
if: github.repository_owner == 'bjoluc' && github.event_name == 'push' && github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "lts/*"
- name: Install dependencies
run: npm ci
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release