Skip to content

atlasaction: gitlab ci #1275

atlasaction: gitlab ci

atlasaction: gitlab ci #1275

Workflow file for this run

name: Action CI (Deprecated)
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
sanity:
strategy:
matrix:
directory: [ migrations, migrations2 ]
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
- name: init migrations folder
run: mkdir -p ${{ matrix.directory }}
- uses: ./
with:
dev-url: sqlite://test?mode=memory&cache=shared&_fk=1
dir: ${{ matrix.directory }}
code:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Use Node.js 16
uses: actions/[email protected]
with:
node-version: 16.x
- name: Cache Dependencies
uses: actions/[email protected]
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install
run: npm i
- name: All
run: npm run all
- name: check dirty
run: git diff --quiet --exit-code