chore: Update Deno version on CI and dep cache (#35283) (#35479)

Co-authored-by: dionisio-bot[bot] <117394943+dionisio-bot[bot]@users.noreply.github.com>
Co-authored-by: Douglas Gubert <1810309+d-gubert@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
pull/35415/head^2
Douglas Gubert 1 year ago committed by GitHub
parent 055fba392f
commit 4e9d3155db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      .changeset/fresh-suns-boil.md
  2. 2
      .github/actions/setup-node/action.yml
  3. 2
      .github/workflows/ci-deploy-gh-pages.yml
  4. 2
      .github/workflows/ci.yml
  5. 2
      .github/workflows/new-release.yml
  6. 2
      .github/workflows/pr-update-description.yml
  7. 2
      .github/workflows/publish-release.yml
  8. 2
      .github/workflows/release-candidate.yml
  9. 2
      .tool-versions
  10. 29
      packages/apps-engine/deno-runtime/deno.jsonc
  11. 6
      packages/apps-engine/deno-runtime/deno.lock
  12. 2
      packages/apps-engine/deno-runtime/lib/parseArgs.ts

@ -0,0 +1,6 @@
---
'@rocket.chat/apps-engine': patch
'@rocket.chat/meteor': patch
---
Fixes deno dependency caching for the docker image builds

@ -46,7 +46,7 @@ runs:
apps/meteor/ee/server/services/node_modules
packages/apps-engine/node_modules
packages/apps-engine/.deno-cache
key: node-modules-${{ hashFiles('yarn.lock') }}-deno-${{ hashFiles('packages/apps-engine/deno-runtime/deno.lock') }}
key: node-modules-${{ hashFiles('yarn.lock') }}-deno-v${{ inputs.deno-version }}-${{ hashFiles('packages/apps-engine/deno-runtime/deno.lock') }}
#
# Could use this command to list all paths to save:
# find . -name 'node_modules' -prune | grep -v "/\.meteor/" | grep -v "/meteor/packages/"

@ -18,7 +18,7 @@ jobs:
uses: ./.github/actions/setup-node
with:
node-version: 22.13.1
deno-version: 1.37.1
deno-version: 1.43.5
cache-modules: true
install: true

@ -200,7 +200,7 @@ jobs:
if: github.event.action != 'closed'
with:
node-version: 22.13.1
deno-version: 1.37.1
deno-version: 1.43.5
cache-modules: true
install: true
- name: Restore turbo build

@ -35,7 +35,7 @@ jobs:
uses: ./.github/actions/setup-node
with:
node-version: 22.13.1
deno-version: 1.37.1
deno-version: 1.43.5
cache-modules: true
install: true
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

@ -22,7 +22,7 @@ jobs:
uses: ./.github/actions/setup-node
with:
node-version: 22.13.1
deno-version: 1.37.1
deno-version: 1.43.5
cache-modules: true
install: true
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

@ -25,7 +25,7 @@ jobs:
uses: ./.github/actions/setup-node
with:
node-version: 22.13.1
deno-version: 1.37.1
deno-version: 1.43.5
cache-modules: true
install: true
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

@ -16,7 +16,7 @@ jobs:
uses: ./.github/actions/setup-node
with:
node-version: 22.13.1
deno-version: 1.37.1
deno-version: 1.43.5
cache-modules: true
install: true
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

@ -1 +1 @@
deno 1.37.1
deno 1.43.5

@ -1,16 +1,17 @@
{
"imports": {
"@rocket.chat/apps-engine/": "./../src/",
"@rocket.chat/ui-kit": "npm:@rocket.chat/ui-kit@^0.31.22",
"@msgpack/msgpack": "npm:@msgpack/msgpack@3.0.0-beta2",
"acorn": "npm:acorn@8.10.0",
"acorn-walk": "npm:acorn-walk@8.2.0",
"astring": "npm:astring@1.8.6",
"jsonrpc-lite": "npm:jsonrpc-lite@2.2.0",
"stack-trace": "npm:stack-trace@0.0.10",
"uuid": "npm:uuid@8.3.2"
},
"tasks": {
"test": "deno test --no-check --allow-read=../../../"
}
"imports": {
"@msgpack/msgpack": "npm:@msgpack/msgpack@3.0.0-beta2",
"@rocket.chat/apps-engine/": "./../src/",
"@rocket.chat/ui-kit": "npm:@rocket.chat/ui-kit@^0.31.22",
"@std/cli": "jsr:@std/cli@^1.0.9",
"acorn": "npm:acorn@8.10.0",
"acorn-walk": "npm:acorn-walk@8.2.0",
"astring": "npm:astring@1.8.6",
"jsonrpc-lite": "npm:jsonrpc-lite@2.2.0",
"stack-trace": "npm:stack-trace@0.0.10",
"uuid": "npm:uuid@8.3.2"
},
"tasks": {
"test": "deno test --no-check --allow-read=../../../"
}
}

@ -2,6 +2,7 @@
"version": "3",
"packages": {
"specifiers": {
"jsr:@std/cli@^1.0.9": "jsr:@std/cli@1.0.13",
"npm:@msgpack/msgpack@3.0.0-beta2": "npm:@msgpack/msgpack@3.0.0-beta2",
"npm:@rocket.chat/ui-kit@^0.31.22": "npm:@rocket.chat/ui-kit@0.31.25_@rocket.chat+icons@0.32.0",
"npm:acorn-walk@8.2.0": "npm:acorn-walk@8.2.0",
@ -13,8 +14,8 @@
"npm:uuid@8.3.2": "npm:uuid@8.3.2"
},
"jsr": {
"@std/cli@1.0.9": {
"integrity": "557e5865af000efbf3f737dcfea5b8ab86453594f4a9cd8d08c9fa83d8e3f3bc"
"@std/cli@1.0.13": {
"integrity": "5db2d95ab2dca3bca9fb6ad3c19908c314e93d6391c8b026725e4892d4615a69"
}
},
"npm": {
@ -100,6 +101,7 @@
},
"workspace": {
"dependencies": [
"jsr:@std/cli@^1.0.9",
"npm:@msgpack/msgpack@3.0.0-beta2",
"npm:@rocket.chat/ui-kit@^0.31.22",
"npm:acorn-walk@8.2.0",

@ -1,4 +1,4 @@
import { parseArgs as $parseArgs } from "https://jsr.io/@std/cli/1.0.9/parse_args.ts";
import { parseArgs as $parseArgs } from "@std/cli/parse-args";
export type ParsedArgs = {
subprocess: string;

Loading…
Cancel
Save