-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create cleanup-cache.yml Switch build to Yarn Update continuous-deployment.yml - Bump actions/checkout - Switch to `--immutable` with yarn (this is the new command) - Fix deprecated set-output command Add heap memory management Update continuous-integration.yml - Use a consistent runner - Fix set-output issues - Switch to setup-node Update lint-pr.yml Update repolinter.yml Update cleanup-cache.yml Update codeql-analysis.yml Create dependabot.yml Update dependabot.yml Update .dockerignore Update Dockerfile Remove accidental --immutable build: test large builders Add setup functions to CodeQL Update codeql-analysis.yml Delete local setup-node Update continuous-integration.yml Change to larger runners Signed-off-by: Ankur Banerjee <[email protected]> Signed-off-by: Ry Jones <[email protected]>
- Loading branch information
Showing
10 changed files
with
124 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
# Skip unncecessary folders | ||
node_modules | ||
build | ||
.github |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
################################# | ||
# GitHub Dependabot Config info # | ||
################################# | ||
|
||
version: 2 | ||
updates: | ||
# Maintain dependencies for NPM | ||
- package-ecosystem: 'npm' | ||
directory: '/' | ||
schedule: | ||
interval: 'monthly' | ||
allow: | ||
# Focus on main dependencies, not devDependencies | ||
- dependency-type: 'production' | ||
|
||
# Maintain dependencies for GitHub Actions | ||
- package-ecosystem: 'github-actions' | ||
directory: '/' | ||
schedule: | ||
interval: 'monthly' | ||
|
||
# Maintain dependencies for Docker | ||
- package-ecosystem: 'docker' | ||
directory: '/' | ||
schedule: | ||
interval: 'monthly' | ||
|
||
# Maintain dependencies for Cargo | ||
- package-ecosystem: 'cargo' | ||
directory: '/' | ||
schedule: | ||
interval: 'monthly' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Repositories have 10 GB of cache storage per repository | ||
# Documentation: https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#usage-limits-and-eviction-policy | ||
name: 'Cleanup - Cache' | ||
on: | ||
schedule: | ||
- cron: '0 0 * * 0/3' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
delete-caches: | ||
name: 'Delete Actions caches' | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: 'Wipe Github Actions cache' | ||
uses: easimon/wipe-cache@v2 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,26 +5,31 @@ on: | |
branches: | ||
- main | ||
|
||
env: | ||
NODE_OPTIONS: --max_old_space_size=6144 | ||
|
||
jobs: | ||
release-canary: | ||
runs-on: aries-ubuntu-2004 | ||
name: Release Canary | ||
if: "!startsWith(github.event.head_commit.message, 'chore(release): v')" | ||
steps: | ||
- name: Checkout aries-framework-javascript | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v3 | ||
with: | ||
# pulls all commits (needed for lerna to correctly version) | ||
fetch-depth: 0 | ||
persist-credentials: false | ||
|
||
# setup dependencies | ||
- name: Setup Libindy | ||
uses: ./.github/actions/setup-libindy | ||
|
||
- name: Setup NodeJS | ||
uses: ./.github/actions/setup-node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
cache: 'yarn' | ||
|
||
- name: Install dependencies | ||
run: yarn install --frozen-lockfile | ||
|
@@ -43,7 +48,7 @@ jobs: | |
run: | | ||
LAST_RELEASED_VERSION=$(npm view @aries-framework/core@alpha version) | ||
echo "::set-output name=version::$LAST_RELEASED_VERSION" | ||
echo version="${LAST_RELEASED_VERSION}" >> "$GITHUB_OUTPUT" | ||
- name: Setup git user | ||
run: | | ||
|
@@ -62,16 +67,17 @@ jobs: | |
if: "startsWith(github.event.head_commit.message, 'chore(release): v')" | ||
steps: | ||
- name: Checkout aries-framework-javascript | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v3 | ||
|
||
# setup dependencies | ||
- name: Setup Libindy | ||
uses: ./.github/actions/setup-libindy | ||
|
||
- name: Setup NodeJS | ||
uses: ./.github/actions/setup-node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
cache: 'yarn' | ||
|
||
- name: Install dependencies | ||
run: yarn install --frozen-lockfile | ||
|
@@ -82,7 +88,7 @@ jobs: | |
NEW_VERSION=$(node -p "require('./lerna.json').version") | ||
echo $NEW_VERSION | ||
echo "::set-output name=version::$NEW_VERSION" | ||
echo version="${NEW_VERSION}" >> "$GITHUB_OUTPUT" | ||
- name: Create Tag | ||
uses: mathieudutour/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.