Skip to content

Commit

Permalink
Updating deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jamessimone committed Mar 13, 2024
1 parent b8dc989 commit 9bf2ea3
Show file tree
Hide file tree
Showing 6 changed files with 15,053 additions and 21,036 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,36 +30,36 @@ jobs:
steps:
# Checkout the code
- name: "Checkout source code"
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}

- name: "Setup node"
uses: actions/setup-node@v2
with:
node-version: "14"
node-version: "18"

- name: "Restore node_modules cache"
id: cache-npm
uses: actions/cache@v2
with:
path: node_modules
key: npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
npm-${{ env.cache-name }}-
npm-
# - name: "Restore node_modules cache"
# id: cache-npm
# uses: actions/cache@v2
# with:
# path: node_modules
# key: npm-${{ hashFiles('**/package-lock.json') }}
# restore-keys: |
# npm-${{ env.cache-name }}-
# npm-

- name: "Install NPM"
if: steps.cache-npm.outputs.cache-hit != 'true'
# if: steps.cache-npm.outputs.cache-hit != 'true'
run: npm ci

# Authenticate using JWT flow
- name: "Auth to dev hub"
shell: bash
run: |
echo "${{ env.DEVHUB_SERVER_KEY }}" > ./jwt-server.key
npx sfdx force:auth:jwt:grant --clientid ${{ env.DEVHUB_CONSUMER_KEY }} --username ${{ env.DEVHUB_USERNAME }} --jwtkeyfile ./jwt-server.key --setdefaultdevhubusername
npx sfdx config:set defaultusername=${{ env.DEVHUB_USERNAME }}
npx sf org login jwt --client-id ${{ env.DEVHUB_CONSUMER_KEY }} --username ${{ env.DEVHUB_USERNAME }} --jwt-key-file ./jwt-server.key --set-default-dev-hub
npx sf config set target-org ${{ env.DEVHUB_USERNAME }}
env:
DEVHUB_USERNAME: ${{ secrets.DEVHUB_USERNAME }}
DEVHUB_CONSUMER_KEY: ${{ secrets.DEVHUB_CONSUMER_KEY }}
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
registry=https://registry.npmjs.org/
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.sfdx
sfdx-project.json
sfdx-project.json
package-lock.json
Loading

0 comments on commit 9bf2ea3

Please sign in to comment.