@@ -11,10 +11,11 @@ jobs:
1111
1212 steps :
1313 - uses : actions/checkout@v2
14- - uses : actions/setup-node@v1
14+ - uses : actions/setup-node@v2
1515 with :
1616 node-version : " 12.x"
1717 registry-url : " https://registry.npmjs.org"
18+ cache : yarn
1819
1920 # Ensure everything is compiling
2021 - run : " yarn install"
@@ -28,18 +29,18 @@ jobs:
2829
2930 # To deploy we need isolated node_modules folders which yarn won't do because it is a workspace
3031 # So, remove the workspace
31- - run : " rm package.json yarn.lock" # Re-run the yarn install outside of the workspace
32+ - run : " rm package.json yarn.lock" # Re-run the yarn install outside of the workspace
3233
3334 - run : |
34- cd packages/svelte-vscode
35- yarn install
35+ cd packages/svelte-vscode
36+ yarn install
3637
37- # Just a hard constraint from the vscode marketplace's usage of azure tokens
38- echo "Once a year this expires, tell Orta to access https://dev.azure.com/ortatherox0608/_usersSettings/tokens to get a new one"
38+ # Just a hard constraint from the vscode marketplace's usage of azure tokens
39+ echo "Once a year this expires, tell Orta to access https://dev.azure.com/ortatherox0608/_usersSettings/tokens to get a new one"
3940
40- # Ship it
41- npx vsce publish --yarn -p $VSCE_TOKEN
42- npx ovsx publish --yarn -p $OVSX_TOKEN
41+ # Ship it
42+ npx vsce publish --yarn -p $VSCE_TOKEN
43+ npx ovsx publish --yarn -p $OVSX_TOKEN
4344
4445 env:
4546 VSCE_TOKEN: ${{ secrets.AZURE_PAN_TOKEN }}
0 commit comments