Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump word-wrap from 1.2.3 to 1.2.4 #1287

Open
wants to merge 7,954 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
7954 commits
Select commit Hold shift + click to select a range
409c98d
fix: json schema internal references
npenin Jun 10, 2023
8c03676
bumping akala
Jun 10, 2023
d49d382
bumping @akala/commands
Jun 10, 2023
2ef1ef7
bumping @akala/config
Jun 10, 2023
0d7049d
bumping @akala/gateway
Jun 10, 2023
994067b
bumping @akala/pm
Jun 10, 2023
6ebb969
bumping @akala/pubsub
Jun 10, 2023
30546c7
bumping @akala/semantic-release
Jun 10, 2023
9da30fd
bumping @akala/server
Jun 10, 2023
3667648
bumping @akala/sidecar
Jun 10, 2023
52c1b55
bumping @akala/webdav
Jun 10, 2023
ff1f3b0
bumping akala-docker
Jun 10, 2023
f735b5d
bumping @akala/authentication
Jun 10, 2023
c15ad0a
bumping @akala/aws-lambda
Jun 10, 2023
8ad1e9c
bumping @akala/client
Jun 10, 2023
88539ef
bumping @akala/cron
Jun 10, 2023
a379190
bumping @akala/crud
Jun 10, 2023
ebe20e2
bumping @akala/dashboard
Jun 10, 2023
f6defc6
bumping @akala/pages
Jun 10, 2023
fc6b9df
bumping @akala/automate
Jun 10, 2023
3781775
bumping @akala/automate-yamlloader
Jun 10, 2023
c2aebfe
bumping nocode
Jun 10, 2023
9197b78
ci: update lock file
npenin Jun 10, 2023
64c8153
doc: add more documentation on serve command
npenin Jun 10, 2023
3a15cc7
fix: delete config property
npenin Jun 10, 2023
c2849a6
fix: move from abortsignal to abortcontroller
npenin Jun 10, 2023
0697d7e
refactor: improve typing on mapAsync
npenin Jun 10, 2023
1decbb4
feat: implement serve in cli
npenin Jun 10, 2023
a0b2c22
bumping akala
Jun 10, 2023
0f0f46a
bumping @akala/core
Jun 10, 2023
d8445a6
bumping @akala/json-rpc-ws
Jun 10, 2023
b4a4ee1
bumping @akala/storage
Jun 10, 2023
771a933
bumping @akala/storage-mongodb
Jun 10, 2023
dfccee2
bumping @akala/cli
Jun 10, 2023
eceda72
bumping @akala/commands
Jun 10, 2023
47c6a69
bumping @akala/config
Jun 10, 2023
4d19ec3
bumping @akala/gateway
Jun 10, 2023
9895160
bumping @akala/pm
Jun 10, 2023
f7af8e1
bumping @akala/pubsub
Jun 10, 2023
1138037
bumping @akala/semantic-release
Jun 10, 2023
e00116f
bumping @akala/server
Jun 10, 2023
5dc874a
bumping @akala/sidecar
Jun 10, 2023
7a03517
bumping @akala/webdav
Jun 10, 2023
bcd9537
bumping akala-docker
Jun 10, 2023
4fbfc26
bumping @akala/authentication
Jun 10, 2023
4916738
bumping @akala/aws-lambda
Jun 10, 2023
6ccedbe
bumping @akala/client
Jun 10, 2023
9cb57c8
bumping @akala/cron
Jun 10, 2023
2f1a320
bumping @akala/crud
Jun 10, 2023
511931c
bumping @akala/dashboard
Jun 10, 2023
fe86aa3
bumping @akala/pages
Jun 10, 2023
8bbc339
bumping @akala/automate
Jun 10, 2023
5751589
bumping @akala/automate-yamlloader
Jun 10, 2023
b0e0e24
bumping nocode
Jun 10, 2023
26955b9
feat: add support for dashes for command args
npenin Jun 18, 2023
166ab73
feat: add name variations
npenin Jun 18, 2023
dc6c1b6
feat: add protocol handlers
npenin Jun 18, 2023
0736bf7
fix: cli parsing
npenin Jun 21, 2023
9d5dbfb
feat: add tcp remote protocol handler
npenin Jun 21, 2023
9e25e0b
fix: improve reliability on commands
npenin Jun 21, 2023
4a09e24
chore: remove .akala.json from committed files
npenin Jun 21, 2023
dc82fc9
feat: add serve cli
npenin Jun 21, 2023
39adf6b
ci: update lock file
npenin Jun 21, 2023
a613f15
bumping akala
Jun 21, 2023
052381d
bumping @akala/cli
Jun 21, 2023
eb627b9
bumping @akala/commands
Jun 21, 2023
5910bbe
bumping @akala/config
Jun 21, 2023
e35bcf1
bumping @akala/gateway
Jun 21, 2023
cb44b05
bumping @akala/pm
Jun 21, 2023
55814b4
bumping @akala/pubsub
Jun 21, 2023
a3033a3
bumping @akala/semantic-release
Jun 21, 2023
b484ca5
bumping @akala/server
Jun 21, 2023
369b202
bumping @akala/sidecar
Jun 21, 2023
604bf0b
bumping @akala/webdav
Jun 21, 2023
6c46301
bumping akala-docker
Jun 21, 2023
f23076b
bumping @akala/authentication
Jun 21, 2023
704ed94
bumping @akala/aws-lambda
Jun 21, 2023
275c10f
bumping @akala/client
Jun 21, 2023
629e51e
bumping @akala/cron
Jun 21, 2023
5cc4676
bumping @akala/crud
Jun 21, 2023
8d9c67e
bumping @akala/dashboard
Jun 21, 2023
94c0826
bumping @akala/pages
Jun 21, 2023
f1bbf7b
bumping @akala/automate
Jun 21, 2023
5710451
bumping @akala/automate-yamlloader
Jun 21, 2023
b392e6e
bumping nocode
Jun 21, 2023
0adf62b
fix: enable jsonrpc on clients
npenin Jun 21, 2023
c79c18c
ci: update lock file
npenin Jun 21, 2023
26ce1fd
bumping akala
Jun 21, 2023
c9b6433
bumping @akala/cli
Jun 21, 2023
fef4195
bumping @akala/commands
Jun 21, 2023
62eac1a
bumping @akala/config
Jun 21, 2023
1dd8f38
bumping @akala/gateway
Jun 21, 2023
376c931
bumping @akala/pm
Jun 21, 2023
3db0f20
bumping @akala/pubsub
Jun 21, 2023
0012228
bumping @akala/semantic-release
Jun 21, 2023
d45c6c0
bumping @akala/server
Jun 21, 2023
c1b31b8
bumping @akala/sidecar
Jun 21, 2023
6028668
bumping @akala/webdav
Jun 21, 2023
f886646
bumping akala-docker
Jun 21, 2023
29b6225
bumping @akala/authentication
Jun 21, 2023
f7caf28
bumping @akala/aws-lambda
Jun 21, 2023
e7a5472
bumping @akala/client
Jun 21, 2023
6143810
bumping @akala/cron
Jun 21, 2023
6257cdb
bumping @akala/crud
Jun 21, 2023
9b44fe5
bumping @akala/dashboard
Jun 21, 2023
3895a4c
bumping @akala/pages
Jun 21, 2023
015eec2
bumping @akala/automate
Jun 21, 2023
36b45d0
bumping @akala/automate-yamlloader
Jun 21, 2023
ab8d88f
bumping nocode
Jun 21, 2023
f2c506c
ci: update lock file
npenin Jun 21, 2023
ab40186
feat: add parent injector as container constructor parameter
npenin Jun 21, 2023
88cbdbe
feat: enable env on cli containers
npenin Jun 21, 2023
3419c21
bumping akala
Jun 21, 2023
01795f8
bumping @akala/commands
Jun 21, 2023
f3d669a
bumping @akala/config
Jun 21, 2023
47be002
bumping @akala/gateway
Jun 21, 2023
218bf4d
bumping @akala/pm
Jun 21, 2023
6d86a3f
bumping @akala/pubsub
Jun 21, 2023
6830c9f
bumping @akala/semantic-release
Jun 21, 2023
abc2e72
bumping @akala/server
Jun 21, 2023
4dfee3c
bumping @akala/sidecar
Jun 21, 2023
8d6765b
bumping @akala/webdav
Jun 21, 2023
94279b3
bumping akala-docker
Jun 21, 2023
7b8a325
bumping @akala/authentication
Jun 21, 2023
4643ace
bumping @akala/aws-lambda
Jun 21, 2023
174c2e6
bumping @akala/client
Jun 21, 2023
a2d3eb1
bumping @akala/cron
Jun 21, 2023
4520124
bumping @akala/crud
Jun 21, 2023
59a8e00
bumping @akala/dashboard
Jun 21, 2023
9f3a964
bumping @akala/pages
Jun 21, 2023
f1e443b
bumping @akala/automate
Jun 21, 2023
9e4a862
bumping @akala/automate-yamlloader
Jun 21, 2023
07f667b
bumping nocode
Jun 21, 2023
c239808
fix: tree shaking issue
npenin Jun 21, 2023
ea4d3d8
Merge branch 'master' of https://github.com/npenin/akala
npenin Jun 21, 2023
034dd00
ci: update lock file
npenin Jun 21, 2023
08e2152
bumping akala
Jun 21, 2023
5a95cd1
bumping @akala/commands
Jun 21, 2023
35980e7
bumping @akala/config
Jun 21, 2023
80096b6
bumping @akala/gateway
Jun 21, 2023
a2bb76b
bumping @akala/pm
Jun 21, 2023
99461c0
bumping @akala/pubsub
Jun 21, 2023
5a22956
bumping @akala/semantic-release
Jun 21, 2023
5d524bb
bumping @akala/server
Jun 21, 2023
ecc74c6
bumping @akala/sidecar
Jun 21, 2023
96567b5
bumping @akala/webdav
Jun 21, 2023
f1e79f0
bumping akala-docker
Jun 21, 2023
b45afd7
bumping @akala/authentication
Jun 21, 2023
4882daf
bumping @akala/aws-lambda
Jun 21, 2023
153f6b1
bumping @akala/client
Jun 21, 2023
4a8574c
bumping @akala/cron
Jun 21, 2023
60e6295
bumping @akala/crud
Jun 21, 2023
145ed24
bumping @akala/dashboard
Jun 21, 2023
3906d8f
bumping @akala/pages
Jun 21, 2023
2b7406d
bumping @akala/automate
Jun 21, 2023
c02dad9
bumping @akala/automate-yamlloader
Jun 21, 2023
4610f32
bumping nocode
Jun 21, 2023
4f7383d
refactor: optimize perf
npenin Jun 24, 2023
928d77b
fix: improve path normalization
npenin Jun 28, 2023
19762ba
feat: switch to ESM decorators
npenin Jun 28, 2023
7d24d00
feat: add support for render functions
npenin Jun 28, 2023
ec56e96
doc: fix architecture diagram
npenin Jul 8, 2023
c7e2bc9
Revert "feat: switch to ESM decorators"
npenin Jun 28, 2023
2a0b6a4
fix: handle normalize on rest parameters
npenin Jul 11, 2023
a37810f
fix: new considered as part of the folder name
npenin Jul 11, 2023
5bf471e
fix: command configuration path resolution
npenin Jul 11, 2023
4df15f2
fix: command config resolution
npenin Jul 11, 2023
484a0b4
fix: async CLI init
npenin Jul 11, 2023
f6b0275
feat: add sourmap optional support
npenin Jul 11, 2023
7c1b792
fix: improve spanasync resilience
npenin Jul 11, 2023
93a722d
feat: export spanAsync
npenin Jul 11, 2023
dea161a
ci: update lock file
npenin Jul 11, 2023
48e1683
fix: update to latest pages types
npenin Jul 11, 2023
136dcfc
ci: fix lock file
npenin Jul 14, 2023
5d88b84
bumping akala
Jul 14, 2023
fe6e6db
bumping @akala/core
Jul 14, 2023
9598676
bumping @akala/json-rpc-ws
Jul 14, 2023
d98e755
bumping @akala/pages
Jul 14, 2023
80e1c3c
bumping @akala/storage
Jul 14, 2023
08f5508
bumping @akala/storage-mongodb
Jul 14, 2023
2996b5b
bumping @akala/tacl
Jul 14, 2023
338d10e
bumping @akala/cli
Jul 14, 2023
546541b
bumping @akala/commands
Jul 14, 2023
9d6a53a
bumping @akala/config
Jul 14, 2023
a26b2e9
bumping @akala/gateway
Jul 14, 2023
104551e
bumping @akala/pm
Jul 14, 2023
6c727e6
bumping @akala/pubsub
Jul 14, 2023
59d7da1
bumping @akala/semantic-release
Jul 14, 2023
64cc4c2
bumping @akala/server
Jul 14, 2023
d2aef10
bumping @akala/sidecar
Jul 14, 2023
555e395
bumping @akala/webdav
Jul 14, 2023
12f02c0
bumping akala-docker
Jul 14, 2023
77fc390
bumping @akala/authentication
Jul 14, 2023
51abeca
bumping @akala/aws-lambda
Jul 14, 2023
4c96df7
bumping @akala/client
Jul 14, 2023
3262f73
bumping @akala/cron
Jul 14, 2023
a5b504f
bumping @akala/crud
Jul 14, 2023
0f77267
bumping @akala/dashboard
Jul 14, 2023
6b7d62a
bumping nocode
Jul 14, 2023
fcb161b
bumping @akala/automate
Jul 14, 2023
2fa2528
bumping @akala/automate-yamlloader
Jul 14, 2023
2257c34
fix: relative to config file cli imports
npenin Jul 14, 2023
a185cdd
bumping akala
Jul 14, 2023
3084953
bumping @akala/pages
Jul 14, 2023
bd6f5fd
bumping @akala/cli
Jul 14, 2023
5af6042
bumping @akala/commands
Jul 14, 2023
180e51b
bumping @akala/config
Jul 14, 2023
475c60d
bumping @akala/gateway
Jul 14, 2023
3a3bbcd
bumping @akala/pm
Jul 14, 2023
ee64659
bumping @akala/pubsub
Jul 14, 2023
26d96a8
bumping @akala/semantic-release
Jul 14, 2023
9ff61c9
bumping @akala/server
Jul 14, 2023
d336670
bumping @akala/sidecar
Jul 14, 2023
69e1e53
bumping @akala/webdav
Jul 14, 2023
31093f6
bumping akala-docker
Jul 14, 2023
435febd
bumping @akala/authentication
Jul 14, 2023
3552552
bumping @akala/aws-lambda
Jul 14, 2023
97f0e51
bumping @akala/client
Jul 14, 2023
c0ee42f
bumping @akala/cron
Jul 14, 2023
848edf4
bumping @akala/crud
Jul 14, 2023
762cae6
bumping @akala/dashboard
Jul 14, 2023
f12dbdc
bumping nocode
Jul 14, 2023
3452499
bumping @akala/automate
Jul 14, 2023
4de0b29
bumping @akala/automate-yamlloader
Jul 14, 2023
ab30ee8
fix: fixing config plugins loading
npenin Jul 14, 2023
30021e6
fix: normalize behavior with relativeTo
npenin Jul 14, 2023
aac9398
ci: update lock file
npenin Jul 14, 2023
da9f0f3
bumping akala
Jul 14, 2023
4a8ac9b
bumping @akala/pages
Jul 14, 2023
e7e03f5
bumping @akala/cli
Jul 14, 2023
a3449d4
bumping @akala/commands
Jul 14, 2023
89c16cd
bumping @akala/config
Jul 14, 2023
c1eb2e7
bumping @akala/gateway
Jul 14, 2023
75e8bfc
bumping @akala/pm
Jul 14, 2023
7fbe4eb
bumping @akala/pubsub
Jul 14, 2023
2f13c2f
bumping @akala/semantic-release
Jul 14, 2023
1877c40
bumping @akala/server
Jul 14, 2023
4e3c6a9
bumping @akala/sidecar
Jul 14, 2023
510a389
bumping @akala/webdav
Jul 14, 2023
fd7e908
bumping akala-docker
Jul 14, 2023
2634be1
bumping @akala/authentication
Jul 14, 2023
7456b71
bumping @akala/aws-lambda
Jul 14, 2023
d72dd8d
bumping @akala/client
Jul 14, 2023
f4ca124
bumping @akala/cron
Jul 14, 2023
ad8a012
bumping @akala/crud
Jul 14, 2023
0bc53e0
bumping @akala/dashboard
Jul 14, 2023
34016b6
bumping nocode
Jul 14, 2023
1a9221b
bumping @akala/automate
Jul 14, 2023
24300c4
bumping @akala/automate-yamlloader
Jul 14, 2023
c29363d
Bump word-wrap from 1.2.3 to 1.2.4
dependabot[bot] Jul 19, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
39 changes: 39 additions & 0 deletions .akala.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"plugins": [
"./packages/config/dist/esm/akala.mjs",
"./packages/commands/dist/esm/akala.mjs",
"./packages/pm/dist/esm/akala.mjs"
],
"pm": {
"containers": {
"pm": {
"commandable": true,
"stateless": false,
"path": "./packages/pm/commands.json"
},
"server": {
"path": "./packages/server/commands.json",
"commandable": true,
"stateless": false
}
},
"mapping": {
"pm": {
"cwd": "/home/nicolas/dev/akala",
"container": "pm",
"connect": {
"socket": [
{
"port": 31416
}
],
"signal": {}
}
}
},
"plugins": []
},
"commands": {
"meta": "./packages/commands/commands.json"
}
}
2 changes: 1 addition & 1 deletion .eslintcache

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions .eslintrc.js → .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ module.exports = {
plugins: [
'@typescript-eslint',
],
ignorePatterns: [
"packages/webdav/**/*.ts",
"packages/crud/**/*.ts",
"packages/authentication/**/*.ts",
],
rules: {
"@typescript-eslint/no-inferrable-types": "off",
"no-var": "off",
Expand Down
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2

updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
time: "04:00"
open-pull-requests-limit: 10

13 changes: 13 additions & 0 deletions .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: auto-merge

on:
pull_request:

jobs:
auto-merge:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
target: minor
34 changes: 34 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages

name: build

on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install yarn
run: |
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update
sudo apt-get install yarn
- name: Install Packages
run: yarn install
- name: Compile ESM
run: yarn tsc -b packages/tsconfig.esm.json
- name: Compile CJS
run: yarn tsc -b packages/tsconfig.cjs.json
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -50,7 +50,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -64,4 +64,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
86 changes: 86 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
# ref: https://github.com/crazy-max/diun/blob/master/.github/workflows/build.yml

name: Docker
on:
push:
branches:
- master
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Prepare
id: prepare
run: |
if [[ $GITHUB_REF == refs/tags/* ]]; then
echo ::set-output name=version::${GITHUB_REF#refs/tags/v}
elif [[ $GITHUB_REF == refs/heads/master ]]; then
echo ::set-output name=version::latest
elif [[ $GITHUB_REF == refs/heads/* ]]; then
echo ::set-output name=version::${GITHUB_REF#refs/heads/}
else
echo ::set-output name=version::snapshot
fi

echo ::set-output name=build_date::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
echo ::set-output name=docker_platforms::linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le
echo ::set-output name=docker_image::${{ secrets.DOCKER_USERNAME }}/${{ github.event.repository.name }}

# https://github.com/crazy-max/ghaction-docker-buildx
- name: Set up Docker Buildx
id: buildx
uses: crazy-max/ghaction-docker-buildx@v3
with:
version: latest

- name: Environment
run: |
echo home=$HOME
echo git_ref=$GITHUB_REF
echo git_sha=$GITHUB_SHA
echo version=${{ steps.prepare.outputs.version }}
echo date=${{ steps.prepare.outputs.build_date }}
echo image=${{ steps.prepare.outputs.docker_image }}
echo platforms=${{ steps.prepare.outputs.docker_platforms }}
echo avail_platforms=${{ steps.buildx.outputs.platforms }}

# https://github.com/actions/checkout
- name: Checkout
uses: actions/checkout@v3

- name: Docker Buildx (no push)
run: |
docker buildx build \
--platform ${{ steps.prepare.outputs.docker_platforms }} \
--output "type=image,push=false" \
--build-arg "VERSION=${{ steps.prepare.outputs.version }}" \
--build-arg "BUILD_DATE=${{ steps.prepare.outputs.build_date }}" \
--build-arg "VCS_REF=${GITHUB_SHA::8}" \
--tag "${{ steps.prepare.outputs.docker_image }}:${{ steps.prepare.outputs.version }}" \
--file docker/Dockerfile docker

- name: Docker Login
if: success()
env:
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
run: |
echo "${DOCKER_PASSWORD}" | docker login --username "${{ secrets.DOCKER_USERNAME }}" --password-stdin

- name: Docker Buildx (push)
if: success()
run: |
docker buildx build \
--platform ${{ steps.prepare.outputs.docker_platforms }} \
--output "type=image,push=true" \
--build-arg "VERSION=${{ steps.prepare.outputs.version }}" \
--build-arg "BUILD_DATE=${{ steps.prepare.outputs.build_date }}" \
--build-arg "VCS_REF=${GITHUB_SHA::8}" \
--tag "${{ steps.prepare.outputs.docker_image }}:${{ steps.prepare.outputs.version }}" \
--file docker/Dockerfile docker

- name: Clear
if: always()
run: |
rm -f ${HOME}/.docker/config.json
75 changes: 0 additions & 75 deletions .github/workflows/npm-publish.yml

This file was deleted.

6 changes: 4 additions & 2 deletions .github/workflows/ossar-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ name: OSSAR

on:
push:
branches:
- master
pull_request:

jobs:
Expand All @@ -16,7 +18,7 @@ jobs:
steps:
# Checkout your code repository to scan
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
Expand Down Expand Up @@ -44,6 +46,6 @@ jobs:

# Upload results to the Security tab
- name: Upload OSSAR results
uses: github/codeql-action/upload-sarif@v1
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: ${{ steps.ossar.outputs.sarifFile }}
49 changes: 49 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages

name: publish

on:
push:
branches:
- master
workflow_dispatch:

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 18
cache: "yarn"
- name: setup git
run: |
git config user.name "GitHub Actions Bot"
git config user.email "<>"
- name: Install yarn
run: |
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update
sudo apt-get install yarn
- name: Install Packages
run: yarn
- name: Compile ESM
run: yarn tsc -b packages/tsconfig.esm.json
- name: Compile CJS
run: yarn tsc -b packages/tsconfig.cjs.json
- name: Linting
uses: wearerequired/lint-action@v2
with:
eslint: true
- name: Ensure CJS
run: yarn workspaces foreach -Ap --no-private --exclude "@akala/aws-lambda|@akala/cli|@akala/sidecar" exec "echo '{"'"type":"commonjs"}'"' > dist/cjs/package.json"
- name: publish updates
run: node packages/automate/dist/esm/cli.js --loader @akala/automate-yamlloader --file @akala/semantic-release/publish.yml --verbose=silly
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Loading