Skip to content

Merge pull request #384 from lenneTech/develop #566

Merge pull request #384 from lenneTech/develop

Merge pull request #384 from lenneTech/develop #566

Workflow file for this run

name: Build
on:
push:
branches:
- '*/*'
- '*'
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
mongodb-version: ['7.0']
steps:
- name: Git checkout
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Start MongoDB
uses: supercharge/mongodb-github-action@1.11.0
with:
mongodb-version: ${{ matrix.mongodb-version }}
- name: Install dependencies
run: npm install
- name: Optimize and check
run: npm run prepublishOnly
- name: Build
run: npm run build
- name: Save build
uses: actions/upload-artifact@v4
with:
name: build
path: ./dist