Skip to content

PrusaLink GitHub Actions #665

PrusaLink GitHub Actions

PrusaLink GitHub Actions #665

Workflow file for this run

name: PrusaLink GitHub Actions
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
printer: ["mini", "sl1", "m1"]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run words:extract -- --ci
env:
PRUSALATOR_SERVER: ${{ secrets.PRUSALATOR_SERVER }}
PRUSALATOR_PROJECT_ID: ${{ secrets.PRUSALATOR_PROJECT_ID }}
PRUSALATOR_TOKEN: ${{ secrets.PRUSALATOR_TOKEN }}
- run: npm run build:${{ matrix.printer }}