File tree Expand file tree Collapse file tree 2 files changed +6
-20
lines changed
Expand file tree Collapse file tree 2 files changed +6
-20
lines changed Original file line number Diff line number Diff line change @@ -10,30 +10,16 @@ jobs:
1010 runs-on : ubuntu-latest
1111
1212 steps :
13-
1413 - name : Check out code
1514 uses : actions/checkout@v4
1615
17- - name : Set up Node
16+ - name : Set up Node.js
1817 uses : actions/setup-node@v4
1918 with :
20- node-version : 22
21-
19+ node-version : ' 22 '
20+
2221 - name : Install dependencies
2322 run : npm ci
2423
25- - name : Build app
26- run : npm run build
27-
28- - name : Set up GCP CLI
29- uses : google-github-actions/setup-gcloud@v1
30- with :
31- project_id : ${{ secrets.GCP_PROJECT_ID }}
32- service_account_key : ${{ secrets.GCP_CREDENTIALS }}
33-
34-
35- - name : Build & Push Docker image
36- run : |
37- IMAGE_NAME=notely
38- TAG=latest
39- gcloud builds submit --tag us-central1-docker.pkg.dev/notely-491114/notely-ar-repo/$IMAGE_NAME:$TAG .
24+ - name : Build the app
25+ run : npm run build
Original file line number Diff line number Diff line change 11import { describe , expect , test } from "vitest" ;
2- import { getAPIKey } from "../api/auth" ;
2+ import { getAPIKey } from "../api/auth.js " ;
33
44describe ( "getAPIKey" , ( ) => {
55 test ( "returns the API key from valid header" , ( ) => {
You can’t perform that action at this time.
0 commit comments