Skip to content

8.8.0

8.8.0 #476

Workflow file for this run

name: Tests
on:
push:
branches-ignore:
- "stable"
jobs:
node:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [14, 16, 18]
arangodb-version:
- arangodb/arangodb:3.10.13
- arangodb/enterprise:3.10.13
- arangodb/arangodb:3.11.8
- arangodb/enterprise:3.11.8
- arangodb/arangodb-test:devel-nightly
- arangodb/enterprise-test:devel-nightly
container:
image: node:${{ matrix.node-version }}-alpine
services:
arangodb:
image: ${{ matrix.arangodb-version }}
env:
ARANGO_NO_AUTH: 1
ARANGO_LICENSE_KEY: ${{ secrets.ARANGO_LICENSE_KEY }}
steps:
- uses: actions/checkout@v2
- run: apk add jq
- run: npm install -g npm@8
- run: npm install
- run: npm test
env:
ARANGO_RELEASE: ${{ matrix.arangodb-version }}
TEST_ARANGODB_URL: http://arangodb:8529
CI: true
web:
runs-on: ubuntu-latest
strategy:
matrix:
arangodb-version:
- arangodb/arangodb:3.10.13
- arangodb/arangodb:3.11.8
- arangodb/arangodb-test:devel-nightly
container:
image: node:16
services:
arangodb:
image: ${{ matrix.arangodb-version }}
env:
ARANGO_NO_AUTH: 1
steps:
- uses: actions/checkout@v2
- run: apt-get update && apt-get install jq wget gnupg -y
- run: wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
- run: sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
- run: apt-get update && apt-get install -y google-chrome-stable fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst fonts-freefont-ttf libxss1 --no-install-recommends -y
- run: npm install -g npm@8
- run: npm install && npm install puppeteer
- run: node smoke-test.js
promote:
runs-on: ubuntu-latest
needs: ["node", "web"]
if: ${{ github.ref == 'refs/heads/main' }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
token: ${{ secrets.GH_TOKEN }}
- run: git fetch . HEAD:stable
- run: git push origin stable