Skip to content

Commit a87ccb6

Browse files
committed
fix issues with node_modules
1 parent 48b8064 commit a87ccb6

File tree

5 files changed

+616
-463
lines changed

5 files changed

+616
-463
lines changed

.eslintrc.js

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
module.exports = {
2+
"env": {
3+
"browser": true,
4+
"commonjs": true,
5+
"es6": true
6+
},
7+
"extends": "eslint:recommended",
8+
"globals": {
9+
"Atomics": "readonly",
10+
"SharedArrayBuffer": "readonly"
11+
},
12+
"parserOptions": {
13+
"ecmaVersion": 2018
14+
},
15+
"rules": {
16+
}
17+
};

.github/workflows/ci.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v1
10+
- run: docker login --username ${GITHUB_ACTOR} --password ${{ secrets.GITHUB_TOKEN_TO_PUSH_TO_PACKAGE_REGISTRY }} docker.pkg.github.com
11+
- run: |
12+
export CI_PROJECT_PATH=${GITHUB_REPOSITORY}/ci/${GITHUB_REF} \
13+
CI_REGISTRY=docker.pkg.github.com \
14+
COMPOSE_FILE=docker-compose.yml:docker-compose.gitlab-ci.yml
15+
make build
16+
docker images

.github/workflows/code-style.yml renamed to .github/workflows/code-style.yml_

+3-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ jobs:
1717
run: make twigcs
1818

1919
- name: eslint
20-
run: make eslint
20+
run: |
21+
docker-compose up -d node
22+
make eslint
2123

2224
# - name: phpstan
2325
# run: make phpstan
File renamed without changes.

0 commit comments

Comments
 (0)