浏览代码

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

vanilla_orig
Lipis 4 年前
父节点
当前提交
baf9da2b83
没有帐户链接到提交者的电子邮件

+ 5
- 5
.dockerignore 查看文件

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

+ 1
- 1
.github/workflows/build-docker.yml 查看文件

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

+ 2
- 2
.github/workflows/build-packages.yml 查看文件

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

+ 2
- 2
.github/workflows/lint.yml 查看文件

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

+ 1
- 1
.github/workflows/locales-coverage.yml 查看文件

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

+ 2
- 2
.github/workflows/sentry-production.yml 查看文件

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

+ 2
- 2
.github/workflows/test.yml 查看文件

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

+ 1
- 1
docker-compose.yml 查看文件

18
     volumes:
18
     volumes:
19
       - ./:/opt/node_app/app:delegated
19
       - ./:/opt/node_app/app:delegated
20
       - ./package.json:/opt/node_app/package.json
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
       - notused:/opt/node_app/app/node_modules
22
       - notused:/opt/node_app/app/node_modules
23
 
23
 
24
 volumes:
24
 volumes:

正在加载...
取消
保存