@@ -10,36 +10,36 @@ jobs:
1010 runs-on : ubuntu-latest
1111 strategy :
1212 matrix :
13- node-version : [17 .x]
13+ node-version : [18 .x]
1414 steps :
1515 - uses : actions/checkout@v2
1616 - name : Use Node.js ${{ matrix.node-version }}
1717 uses : actions/setup-node@v1
1818 with :
1919 node-version : ${{ matrix.node-version }}
2020 - run : rm -rf docs
21- - run : npm install
21+ - run : yarn install
2222 - name : Cypress run
2323 uses : cypress-io/github-action@v2
2424 with :
25- build : npm run build
26- start : npm run dev
25+ build : yarn run build
26+ start : yarn run dev
2727 wait-on : ' http://localhost:3000'
2828 build-s3 :
2929 needs : build-test
3030 runs-on : ubuntu-latest
3131 strategy :
3232 matrix :
33- node-version : [17 .x]
33+ node-version : [18 .x]
3434 steps :
3535 - uses : actions/checkout@v2
3636 - name : Use Node.js ${{ matrix.node-version }}
3737 uses : actions/setup-node@v1
3838 with :
3939 node-version : ${{ matrix.node-version }}
4040 - run : rm -rf docs
41- - run : npm install
42- - run : npm run build
41+ - run : yarn install
42+ - run : yarn run build
4343 - name : Set AWS credentials
4444 uses : aws-actions/configure-aws-credentials@v1
4545 with :
5353 runs-on : ubuntu-latest
5454 strategy :
5555 matrix :
56- node-version : [17 .x]
56+ node-version : [18 .x]
5757 steps :
5858 - name : run Docker
5959 uses : actions/checkout@v2
@@ -77,18 +77,18 @@ jobs:
7777 runs-on : ubuntu-latest
7878 strategy :
7979 matrix :
80- node-version : [17 .x]
80+ node-version : [18 .x]
8181 steps :
8282 - uses : actions/checkout@v2
8383 - name : Use Node.js ${{ matrix.node-version }}
8484 uses : actions/setup-node@v1
8585 with :
8686 node-version : ${{ matrix.node-version }}
8787 - run : rm -rf docs
88- - run : npm install
89- - run : npm run-script build
88+ - run : yarn install
89+ - run : yarn run-script build
9090 - run : curl ${{ secrets.INDEX_HTML_DEPLOYMENT_URL }} > dist/index.html
91- - run : npm pack
91+ - run : yarn pack
9292 - run : rm -rf target
9393 - run : mkdir target
9494 - run : mv *.tgz target/
@@ -100,7 +100,7 @@ jobs:
100100 - run : npx @neo4j/code-signer --app ./package --private-key neo4j-labs-app.pem --cert neo4j-labs-app.cert --passphrase ${{ secrets.NEO4J_DESKTOP_PASSPHRASE }}
101101 - run : echo "${{ secrets.NEO4J_DESKTOP_CERTIFICATE }}" > neo4j_desktop.cert
102102 - run : npx @neo4j/code-signer --verify --app ./package --root-cert neo4j_desktop.cert
103- - run : cd package && npm pack
103+ - run : cd package && yarn pack
104104 - run : mv package/*.tgz .
105105 - run : rm -rf package
106106 - run : tar xvf *.tgz package
0 commit comments