Skip to content

Commit

Permalink
comply anca
Browse files Browse the repository at this point in the history
  • Loading branch information
TimurRin committed Sep 18, 2024
1 parent 7e10412 commit 4d66224
Show file tree
Hide file tree
Showing 7 changed files with 52 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM docker.io/node:22.6.0
FROM docker.io/node:22.8.0

USER node
32 changes: 30 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: "Checkout repo"
- uses: actions/setup-node@v4
with:
node-version: 22.6.0
node-version: 22.8.0
registry-url: https://registry.npmjs.org/
name: "Install Node.js"
- run: npm ci
Expand All @@ -26,6 +26,34 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
name: "Build distribution bundle and publish to registry"
build-bundle:
permissions: write-all
runs-on: ubuntu-latest
env:
ANCA_CI: true
name: Build bundle
steps:
- uses: actions/checkout@v4
name: Checkout repo
- uses: actions/setup-node@v4
with:
node-version: 22.8.0
name: Install Node.js
- run: npm ci
name: Install dependencies
- run: npm run build:bundle
name: Build bundle
- run: |
mv build/bundle/index.js build/bundle/${{ github.event.repository.name }}-${{ github.ref_name }}.js
shell: bash
name: Rename bundle
- uses: softprops/action-gh-release@v1
with:
files: |
build/bundle/${{ github.event.repository.name }}-${{ github.ref_name }}.js
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
name: Attach bundle to release
build-executables:
permissions: write-all
runs-on: ${{ matrix.os }}
Expand All @@ -40,7 +68,7 @@ jobs:
name: Checkout repo
- uses: actions/setup-node@v4
with:
node-version: 22.6.0
node-version: 22.8.0
name: Install Node.js
- run: npm ci
name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [18.20.4, 20.16.0, 22.6.0]
node: [18.20.4, 20.17.0, 22.8.0]
name: Test repo on Node.js ${{ matrix.node }}
steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ CHANGELOG.md

# Anca
anca.json
esbuild.js
eslint.config.js
openapi.json
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@ Organize workspaces and manage projects deployment fast and easy with Anca, Proj
npm install -g anca
```

### Bundled script

[Get the latest bundled script](https://github.com/cinnabar-forge/anca/releases/latest).

This script has everything to run the project without any extra dependencies. You need Node.js binary to run it.

### Binary

[Get the latest binaries](https://github.com/cinnabar-forge/anca/releases/latest).

If you want to use the app with a command line, rename it to `anca` or `anca.exe` and add the location to `PATH`.

## Contributing

Visit [`CONTRIBUTING.md`](CONTRIBUTING.md).
Expand Down
5 changes: 3 additions & 2 deletions anca.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"dataVersion": 0,
"version": {
"latest": "0.1.0-dev.2",
"latestNext": "0.1.0-dev.2+next.20240918_093908",
"timestamp": 1726652348
"latestNext": "0.1.0-dev.2+next.20240918_095347",
"timestamp": 1726653227
},
"files": [
{
Expand Down Expand Up @@ -55,6 +55,7 @@
"text": "Anca",
"textLong": "Anca Project Manager"
},
"public": true,
"stack": "nodejs",
"type": "app"
}
4 changes: 2 additions & 2 deletions src/cinnabar.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by Cinnabar Meta. Do not edit.

export const CINNABAR_PROJECT_TIMESTAMP = 1726652348;
export const CINNABAR_PROJECT_VERSION = "0.1.0-dev.2+next.20240918_093908";
export const CINNABAR_PROJECT_TIMESTAMP = 1726653227;
export const CINNABAR_PROJECT_VERSION = "0.1.0-dev.2+next.20240918_095347";

0 comments on commit 4d66224

Please sign in to comment.