Skip to content

fix: Version of

fix: Version of #456

Workflow file for this run

name: Build
on:
push:
branches:
- '*/*'
- '*'
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.15]
mongodb-version: [4.4]
steps:
- name: Git checkout
uses: actions/checkout@v2
- name: Use Node.js 18.15
uses: actions/setup-node@v1
with:
node-version: 18.15
- name: Start MongoDB
uses: supercharge/mongodb-github-action@1.3.0
with:
mongodb-version: 4.4
- 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@v1
with:
name: build
path: ./dist