mirror of
https://github.com/m1k1o/neko-rooms.git
synced 2026-11-02 22:51:34 -06:00
update build workflow.
This commit is contained in:
@@ -23,9 +23,9 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
-
|
||||
name: Setup Node
|
||||
uses: actions/setup-node@v3
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
node-version: '20.x'
|
||||
cache: 'npm'
|
||||
cache-dependency-path: ./client/package-lock.json
|
||||
-
|
||||
@@ -36,7 +36,7 @@ jobs:
|
||||
run: cd ./client && npm run build
|
||||
-
|
||||
name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: client
|
||||
path: ./client/dist
|
||||
@@ -54,7 +54,7 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
-
|
||||
name: Download client artifact
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: client
|
||||
path: ./client/dist
|
||||
@@ -94,7 +94,7 @@ jobs:
|
||||
password: ${{ secrets.DOCKER_TOKEN }}
|
||||
-
|
||||
name: Build and push
|
||||
uses: docker/build-push-action@v5
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
# Turns out the build-push-action runs in a "GitHub" context by default.
|
||||
# At the very least, it means pulling down your repository as part of pre-Dockerfile command.
|
||||
|
||||
Reference in New Issue
Block a user