mirror of
https://github.com/cupcakearmy/svelte-i18n.git
synced 2024-11-16 09:59:58 +01:00
41 lines
766 B
YAML
41 lines
766 B
YAML
name: CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
Lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 13.7.0
|
|
|
|
- name: Install Dependencies
|
|
uses: bahmutov/npm-install@v1
|
|
|
|
- run: 'npm run lint'
|
|
|
|
Tests:
|
|
needs: [Lint]
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
node-version: [13.7.0]
|
|
os: [ubuntu-latest, windows-latest, macOS-latest]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@v1
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
|
|
- name: Install Dependencies
|
|
uses: bahmutov/npm-install@v1
|
|
|
|
- run: npm run test:ci
|
|
env:
|
|
CI: true
|