Browse Source

chore: Update action versions and docker build (#3065)

vanilla_orig
Lipis 4 years ago
parent
commit
baf9da2b83
No account linked to committer's email address

+ 5
- 5
.dockerignore View File

@@ -1,10 +1,10 @@
1 1
 *
2
-!public/
3
-!src/
4
-!.npmrc
2
+!.env
5 3
 !.eslintrc.json
4
+!.npmrc
6 5
 !.prettierrc
7
-!package-lock.json
8 6
 !package.json
7
+!public/
8
+!src/
9 9
 !tsconfig.json
10
-!.env
10
+!yarn.lock

+ 1
- 1
.github/workflows/build-docker.yml View File

@@ -9,5 +9,5 @@ jobs:
9 9
   build:
10 10
     runs-on: ubuntu-latest
11 11
     steps:
12
-      - uses: actions/checkout@v1
12
+      - uses: actions/checkout@v2
13 13
       - run: docker build -t excalidraw .

+ 2
- 2
.github/workflows/build-packages.yml View File

@@ -11,9 +11,9 @@ jobs:
11 11
     runs-on: ubuntu-latest
12 12
 
13 13
     steps:
14
-      - uses: actions/checkout@v1
14
+      - uses: actions/checkout@v2
15 15
       - name: Setup Node.js 14.x
16
-        uses: actions/setup-node@v1
16
+        uses: actions/setup-node@v2
17 17
         with:
18 18
           node-version: 14.x
19 19
       - name: Install dependencies

+ 2
- 2
.github/workflows/lint.yml View File

@@ -7,10 +7,10 @@ jobs:
7 7
     runs-on: ubuntu-latest
8 8
 
9 9
     steps:
10
-      - uses: actions/checkout@v1
10
+      - uses: actions/checkout@v2
11 11
 
12 12
       - name: Setup Node.js 14.x
13
-        uses: actions/setup-node@v1
13
+        uses: actions/setup-node@v2
14 14
         with:
15 15
           node-version: 14.x
16 16
 

+ 1
- 1
.github/workflows/locales-coverage.yml View File

@@ -15,7 +15,7 @@ jobs:
15 15
           token: ${{ secrets.PUSH_TRANSLATIONS_COVERAGE_PAT }}
16 16
 
17 17
       - name: Setup Node.js 14.x
18
-        uses: actions/setup-node@v1
18
+        uses: actions/setup-node@v2
19 19
         with:
20 20
           node-version: 14.x
21 21
 

+ 2
- 2
.github/workflows/sentry-production.yml View File

@@ -9,9 +9,9 @@ jobs:
9 9
   release:
10 10
     runs-on: ubuntu-latest
11 11
     steps:
12
-      - uses: actions/checkout@v1.0.0
12
+      - uses: actions/checkout@v2
13 13
       - name: Setup Node.js 14.x
14
-        uses: actions/setup-node@v1
14
+        uses: actions/setup-node@v2
15 15
         with:
16 16
           node-version: 14.x
17 17
       - name: Install and build

+ 2
- 2
.github/workflows/test.yml View File

@@ -6,9 +6,9 @@ jobs:
6 6
   test:
7 7
     runs-on: ubuntu-latest
8 8
     steps:
9
-      - uses: actions/checkout@v1
9
+      - uses: actions/checkout@v2
10 10
       - name: Setup Node.js 14.x
11
-        uses: actions/setup-node@v1
11
+        uses: actions/setup-node@v2
12 12
         with:
13 13
           node-version: 14.x
14 14
       - name: Install and test

+ 1
- 1
docker-compose.yml View File

@@ -18,7 +18,7 @@ services:
18 18
     volumes:
19 19
       - ./:/opt/node_app/app:delegated
20 20
       - ./package.json:/opt/node_app/package.json
21
-      - ./package-lock.json:/opt/node_app/package-lock.json
21
+      - ./yarn.lock:/opt/node_app/yarn.lock
22 22
       - notused:/opt/node_app/app/node_modules
23 23
 
24 24
 volumes:

Loading…
Cancel
Save