mirror of
https://github.com/retailcrm/vue-i18n-loader.git
synced 2024-11-25 06:46:04 +03:00
ci: Tests pipeline
This commit is contained in:
parent
aaa79bce9a
commit
c19d1a737d
16
.github/workflows/github-actions.yml
vendored
Normal file
16
.github/workflows/github-actions.yml
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
name: Tests
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Tests:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- run: echo "Using branch ${{ github.ref }} for repository ${{ github.repository }}."
|
||||||
|
- name: Check out repository code
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- run: echo "The ${{ github.repository }} repository has been cloned to the runner."
|
||||||
|
- run: chmod 777 .
|
||||||
|
- run: docker-compose pull
|
||||||
|
- run: docker-compose run --rm node yarn install
|
||||||
|
- run: docker-compose run --rm node yarn test
|
8
docker-compose.yml
Normal file
8
docker-compose.yml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
version: '3.6'
|
||||||
|
services:
|
||||||
|
node:
|
||||||
|
image: node:12-alpine
|
||||||
|
user: node
|
||||||
|
volumes:
|
||||||
|
- ./:/var/www/vue-i18n-loader
|
||||||
|
working_dir: /var/www/vue-i18n-loader
|
Loading…
Reference in New Issue
Block a user