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

Hack trainrun warnings #5

Closed
wants to merge 200 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
200 commits
Select commit Hold shift + click to select a range
185c68f
Set ttl for js/css to 1y instead, fix location expression. (#159)
chenkins Jun 26, 2024
ea6a9eb
bug fixed (#160)
aiAdrian Jun 27, 2024
1ad4d31
ci: fix duplicate trigger when pushing to a PR (#163)
tongpu Jun 27, 2024
cd4fbaf
Bump braces from 3.0.2 to 3.0.3 (#164)
dependabot[bot] Jun 27, 2024
cc4c56b
feat: introduce standalone mode (#162)
emersion Jul 2, 2024
bd7f08b
Issue fixed: There was a very interesting situation, when a trainrun …
aiAdrian Jul 4, 2024
9d2c6ee
feat: add AppComponent inputs/outputs (#166)
emersion Jul 4, 2024
d55d461
Bug fixed: Preserving Departure and Arrival Locks in Netzgrafik-Edito…
aiAdrian Jul 8, 2024
1692d55
feat: publish package on NPM (#172)
emersion Jul 9, 2024
dd8f2f1
Update CONTRIBUTING.md
aiAdrian Jul 9, 2024
8ac67b8
fix: enable output hashing by default (#174)
emersion Jul 11, 2024
89aaae0
fix: use light theme for sbb-esta (#176)
emersion Jul 11, 2024
f29ce1a
Bug: Rounding issues with decimal numbers - fixed (#169)
aiAdrian Jul 12, 2024
e601257
bug fixed (#178)
aiAdrian Jul 15, 2024
b99227f
64 bug dark mode should be applyed to the whole netzgrafik editor con…
aiAdrian Jul 18, 2024
70a1b48
hot fixed - imports missing - cause issue in the "package bundle" (#182)
aiAdrian Jul 18, 2024
b5e8e33
hot fixed - imports missing - cause issue in the "package bundle" (#184)
aiAdrian Jul 18, 2024
6cab871
fixed (#186)
aiAdrian Jul 20, 2024
e966fe0
Update package-lock.json (#188)
aiAdrian Jul 22, 2024
b9f31c8
issue fixed (#193)
aiAdrian Jul 23, 2024
a7bdd6c
Fix local dev environment. (#196)
chenkins Jul 24, 2024
b83f0ec
chore(main): release 2.6.0 (#165)
github-actions[bot] Jul 25, 2024
41341ca
194 feature request shareing through email identifier instead of subj…
aiAdrian Jul 31, 2024
e3a8798
fix: align theme color picker with buttons (#198)
emersion Jul 31, 2024
dad7a08
Bump ws, @nestjs/platform-ws, puppeteer, engine.io and socket.io-adap…
dependabot[bot] Jul 31, 2024
35a8617
Translation of the application (#173)
louisgreiner Jul 31, 2024
8f5f2fb
Preparation Version 2.7.0 (Release) (#203)
aiAdrian Jul 31, 2024
c2aea8f
refactor: simplify formatDisplayText() (#206)
emersion Aug 2, 2024
9caa47d
chore(main): release 2.6.2 (#204)
github-actions[bot] Aug 5, 2024
ced0244
Missing translations (#209)
louisgreiner Aug 5, 2024
6a7b37d
Menu extended with language (selector) (#208)
aiAdrian Aug 5, 2024
2554094
fix: disable links section in node sidebar
emersion Aug 5, 2024
af9f9d7
Add Manifest Driven release-please. (#214)
chenkins Aug 6, 2024
5173657
chore(main): release netzgrafik-frontend 2.7.2 (#215)
github-actions[bot] Aug 6, 2024
930441c
refacto trainrun filter service for label uniqueness (#212)
louisgreiner Aug 6, 2024
df335ef
fix: disable notes in filter sidebar in standalone mode (#211)
emersion Aug 6, 2024
c86ba57
Merge pull request #210 from SchweizerischeBundesbahnen/disable-backe…
emersion Aug 6, 2024
211ac59
chore(main): release netzgrafik-frontend 2.7.2 (#217)
github-actions[bot] Aug 6, 2024
69ebb38
chore(main): release netzgrafik-frontend 2.7.2 (#219)
github-actions[bot] Aug 6, 2024
f165c31
Updated release-please.yml (#220)
aiAdrian Aug 6, 2024
484e008
chore: release 2.7.3
aiAdrian Aug 6, 2024
a899577
Update release-please.yml (#222)
aiAdrian Aug 6, 2024
f267549
Update release-please.yml (#224)
aiAdrian Aug 6, 2024
26213b4
Merge branch 'main' of https://github.com/SchweizerischeBundesbahnen/…
aiAdrian Aug 6, 2024
f06b8ff
chore: release 2.7.3
aiAdrian Aug 6, 2024
1da224e
chore(main): release 2.7.3 (#226)
github-actions[bot] Aug 6, 2024
8c4d3f1
Update release-please.yml (#227)
aiAdrian Aug 6, 2024
5400fcf
Add new operations event emitters (#213)
louisgreiner Aug 7, 2024
3593908
Fix tag patterns complying with extended tags from release-please. (#…
chenkins Aug 7, 2024
e25887e
fix: disable environment header in standalone mode (#230)
emersion Aug 8, 2024
099c6d9
chore(main): release 2.7.4 (#231)
github-actions[bot] Aug 8, 2024
1a2d3a8
Run release without listening to tag push events. (#233)
chenkins Aug 8, 2024
f69edec
chore: release 2.7.5
aiAdrian Aug 8, 2024
58b75cd
chore(main): release netzgrafik-frontend 2.7.5 (#234)
github-actions[bot] Aug 8, 2024
5760de2
236 feature request security updates (#238)
aiAdrian Aug 13, 2024
4ab87c8
Update AdvancedEditingShortcuts.md (#240)
aiAdrian Aug 13, 2024
95ccc56
Update CREATE_PROJECT.md
aiAdrian Aug 14, 2024
0d1239a
Update CREATE_CONNECTIONS.md
aiAdrian Aug 14, 2024
d5d5669
Update CREATE_TRAINRUN.md
aiAdrian Aug 14, 2024
3259213
Update Merge_Netzgrafik.md
aiAdrian Aug 14, 2024
07cf5d3
Update CREATE_PROJECT.md, punctuation, spelling (#247)
SergeCroise Aug 19, 2024
87ba5b7
Update CREATE_CONNECTIONS.md, spelling (#246)
SergeCroise Aug 19, 2024
e839ec2
Update AdvancedEditingShortcuts.md, grammar, spelling (#245)
SergeCroise Aug 19, 2024
1e1177b
fix: use change event instead of keyup for node name change (#248)
emersion Aug 19, 2024
e499e9e
chore(main): release netzgrafik-frontend 2.7.6 (#255)
github-actions[bot] Aug 19, 2024
e313580
issue fixed (#251)
aiAdrian Aug 20, 2024
3496d0a
issue resolved (#253)
aiAdrian Aug 20, 2024
9e5e2fd
244 bug viewport not centering on bounding box when reloadingopening …
aiAdrian Aug 20, 2024
dd0fda5
Long email addresses cause incorrect formatting of the left sidebar c…
aiAdrian Aug 20, 2024
8c4749b
chore: release 2.7.7
aiAdrian Aug 20, 2024
19a6129
chore(main): release netzgrafik-frontend 2.7.7 (#256)
github-actions[bot] Aug 20, 2024
ab2dded
Update CONTRIBUTING.md
aiAdrian Aug 21, 2024
e0eb559
fix: doc: Update CREATE_FILTERS.md, spelling (#258)
SergeCroise Aug 24, 2024
9192040
chore(main): release netzgrafik-frontend 2.7.8 (#262)
github-actions[bot] Aug 24, 2024
bf7c091
Bump micromatch from 4.0.7 to 4.0.8 (#263)
dependabot[bot] Aug 24, 2024
30cf1d7
fix: doc: CREATE_NODES.md, spelling (#264)
SergeCroise Aug 26, 2024
da7dd23
chore(main): release netzgrafik-frontend 2.7.9 (#265)
github-actions[bot] Aug 26, 2024
a166d83
fix: Update de.json, en.jason, spelling (#259)
SergeCroise Aug 26, 2024
814f222
chore(main): release netzgrafik-frontend 2.7.10 (#266)
github-actions[bot] Aug 26, 2024
a9e1747
fix: doc: CREATE_TRAINRUN.md, spelling, grammar (#267)
SergeCroise Aug 28, 2024
bc612e8
chore(main): release netzgrafik-frontend 2.7.11 (#271)
github-actions[bot] Aug 28, 2024
b505d03
fix: Technical - replace hard coded style with common browser css sty…
aiAdrian Aug 29, 2024
5c327ec
chore(main): release netzgrafik-frontend 2.7.12 (#274)
github-actions[bot] Aug 29, 2024
e2b61e1
Update README.md
aiAdrian Aug 29, 2024
91d007d
Update README.md
aiAdrian Aug 29, 2024
9472a89
fix: Bug archived read only mode variants are editable even tho not p…
aiAdrian Aug 29, 2024
e46e684
chore(main): release netzgrafik-frontend 2.7.13 (#275)
github-actions[bot] Aug 29, 2024
57cf615
Demo file added
aiAdrian Aug 29, 2024
f504f0d
fix: doc: DATA_MODEL_JSON.md, spelling (#276)
SergeCroise Sep 16, 2024
853b80f
fix: doc: Graphic_Timetable.md, spelling, grammar (#277)
SergeCroise Sep 16, 2024
b8159b4
Bump webpack and @angular-devkit/build-angular (#283)
dependabot[bot] Sep 16, 2024
3773b31
chore(main): release netzgrafik-frontend 2.7.14 (#286)
github-actions[bot] Sep 16, 2024
d587e6e
add the interface for origin-destination CSV (#280)
shenriotpro Sep 17, 2024
e786e87
chore(deps): bump serve-static and express (#287)
dependabot[bot] Sep 17, 2024
fcf9d8a
chore(deps): bump send and express (#288)
dependabot[bot] Sep 17, 2024
6b4bba6
chore(deps): bump body-parser and express (#289)
dependabot[bot] Sep 17, 2024
1f53563
chore(deps-dev): bump express from 4.19.2 to 4.21.0 (#290)
dependabot[bot] Sep 17, 2024
85996b8
Add french translations (#279)
louisgreiner Sep 17, 2024
b5895c9
Added new demostration (JSON)
aiAdrian Sep 19, 2024
0c8d905
Add label operation
Uriel-Sautron Sep 19, 2024
7f7268e
Merge pull request #295 from SchweizerischeBundesbahnen/usn/update-la…
Uriel-Sautron Sep 19, 2024
22f4f87
fix: doc: STANDALONE.md grammar (#292)
SergeCroise Sep 19, 2024
ae64d44
fix: doc: Split_Combine_Trainruns.md grammar (#293)
SergeCroise Sep 19, 2024
6a402c8
fix: doc: USERMANUAL.md spelling grammar punctuation (#294)
SergeCroise Sep 19, 2024
a401efc
chore(main): release netzgrafik-frontend 2.7.15 (#296)
github-actions[bot] Sep 19, 2024
b76ed6a
chore(deps-dev): bump rollup from 4.20.0 to 4.22.4 (#298)
dependabot[bot] Sep 24, 2024
c29c93f
fix: some translations (#299)
louisgreiner Sep 26, 2024
cade856
chore(main): release netzgrafik-frontend 2.7.16 (#300)
github-actions[bot] Sep 27, 2024
9b6d60c
Create deploy-standalone-github.yml
aiAdrian Oct 3, 2024
19da696
Create index.html
aiAdrian Oct 3, 2024
02571f0
Update index.html (#303)
aiAdrian Oct 3, 2024
eb3ca9b
Delete index.html
aiAdrian Oct 3, 2024
c059427
Update deploy-standalone-github.yml
aiAdrian Oct 3, 2024
6a9a582
Create 404.html
aiAdrian Oct 3, 2024
d9843e0
Delete 404.html
aiAdrian Oct 3, 2024
17c1810
Update deploy-standalone-github.yml
aiAdrian Oct 3, 2024
97b12ea
Update deploy-standalone-github.yml
aiAdrian Oct 3, 2024
d3ff5c6
Update deploy-standalone-github.yml
aiAdrian Oct 3, 2024
11863bf
Update deploy-standalone-github.yml
aiAdrian Oct 3, 2024
e2f3e4f
Update deploy-standalone-github.yml
aiAdrian Oct 3, 2024
32b382a
Update deploy-standalone-github.yml
aiAdrian Oct 3, 2024
43e1009
Update deploy-standalone-github.yml
aiAdrian Oct 3, 2024
607bd6e
Update deploy-standalone-github.yml
aiAdrian Oct 3, 2024
cee8336
Update deploy-standalone-github.yml
aiAdrian Oct 3, 2024
4dd7167
Update deploy-standalone-github.yml
aiAdrian Oct 3, 2024
3d8039d
Update deploy-standalone-github.yml
aiAdrian Oct 3, 2024
35914c7
Update deploy-standalone-github.yml
aiAdrian Oct 3, 2024
ab41fae
Update deploy-standalone-github.yml
aiAdrian Oct 3, 2024
0ed5f3e
Update deploy-standalone-github.yml
aiAdrian Oct 3, 2024
d74ad16
Update deploy-standalone-github.yml
aiAdrian Oct 3, 2024
62ed59c
Update deploy-standalone-github.yml
aiAdrian Oct 3, 2024
5ba727d
Update deploy-standalone-github.yml
aiAdrian Oct 3, 2024
610b2e1
Update deploy-standalone-github.yml
aiAdrian Oct 3, 2024
4c57472
Update deploy-standalone-github.yml
aiAdrian Oct 3, 2024
2d1032c
Github pages => demostrator
aiAdrian Oct 3, 2024
3ad67d7
Update README.md
aiAdrian Oct 3, 2024
bee16d2
fix: Documentation enhanced and standalone application deployed to gi…
aiAdrian Oct 3, 2024
5ce01dd
chore(main): release netzgrafik-frontend 2.7.17 (#305)
github-actions[bot] Oct 3, 2024
be4ba8f
306 feature request load a realistic sample plan when opening the dem…
aiAdrian Oct 7, 2024
8ae8fa3
Update deploy-standalone-github.yml (#309)
aiAdrian Oct 7, 2024
294bc9a
Update continuous-integration.yml (#310)
aiAdrian Oct 7, 2024
03d44a0
test: improve NodeService coverage (#307)
shenriotpro Oct 8, 2024
383c99d
feat: Implement Origin/Destination matrix (#301)
shenriotpro Oct 10, 2024
d67445a
chore(main): release netzgrafik-frontend 2.8.0 (#311)
github-actions[bot] Oct 10, 2024
ce3f90d
feat: migrate originDestination connectionPenalty to netzgrafikDto (#…
shenriotpro Oct 17, 2024
83895a1
feat: optimize originDestination graph (#316)
shenriotpro Oct 21, 2024
b3f7e94
test: improve TrainrunService coverage (#317)
shenriotpro Oct 21, 2024
1d89ece
style: format O/D Matrix source using prettier (#318)
shenriotpro Oct 22, 2024
d170955
Update DATA_MODEL.md
aiAdrian Oct 22, 2024
3d9644f
fix: fix O/D Matrix for unordered trainruns (#321)
shenriotpro Oct 24, 2024
36ea0b6
The JSON was integrated as a string and then parsed within the code. …
aiAdrian Oct 24, 2024
3d2aebb
Update the datamodel with information about trainrun iteration (#324)
aiAdrian Oct 24, 2024
132b37b
Update DATA_MODEL.md
aiAdrian Oct 24, 2024
de57745
Update DATA_MODEL.md
aiAdrian Oct 24, 2024
ff3e72c
chore(main): release netzgrafik-frontend 2.9.0 (#315)
github-actions[bot] Oct 24, 2024
790f53b
fix: 320 bug graphical timetable streckengrafik renders only one trai…
aiAdrian Oct 28, 2024
48aa956
Update USERMANUAL.md
aiAdrian Oct 28, 2024
e102df2
Update trainrun_iterations.md
aiAdrian Oct 28, 2024
7cfb16d
Update trainrun_iterations.md
aiAdrian Oct 28, 2024
cdaf013
Update trainrun_iterations.md
aiAdrian Oct 28, 2024
dfdfa69
chore(main): release netzgrafik-frontend 2.9.1 (#327)
github-actions[bot] Oct 28, 2024
296d69f
removed - no longer required (#329)
aiAdrian Oct 28, 2024
3bb9376
issue fixed. While combining two trainruns the first trainrun will "s…
aiAdrian Nov 4, 2024
c55388b
fix: While combining two trainruns the first trainrun will "survive" …
aiAdrian Nov 4, 2024
15e56ae
chore(main): release netzgrafik-frontend 2.9.2 (#332)
github-actions[bot] Nov 4, 2024
28a6d3a
fix: fix O/D Matrix for trainrun 0 (#337)
shenriotpro Nov 5, 2024
bd269ec
chore(main): release netzgrafik-frontend 2.9.3 (#338)
github-actions[bot] Nov 5, 2024
6275ae1
fix: 334 bug archived read mode allows to move nodes but not persiste…
aiAdrian Nov 6, 2024
9157c64
chore(main): release netzgrafik-frontend 2.9.4 (#339)
github-actions[bot] Nov 6, 2024
d7d1776
fix: Simplified third-party JSON import (no port alignment/path preca…
aiAdrian Nov 11, 2024
2d75f2d
fix: CSV base data export (#343)
aiAdrian Nov 11, 2024
a5e2a03
chore(main): release netzgrafik-frontend 2.9.5 (#342)
github-actions[bot] Nov 11, 2024
5adbfc4
chore(deps): bump cookie, socket.io and express (#344)
dependabot[bot] Nov 11, 2024
9d71b4a
fix: 346 bug importing 3rd party json misses detecting non stop trans…
aiAdrian Nov 13, 2024
721876e
chore(main): release netzgrafik-frontend 2.9.6 (#348)
github-actions[bot] Nov 13, 2024
72f8599
fix: 350 bug delete node or trainrunsections cause low performance (#…
aiAdrian Nov 14, 2024
985ae28
chore(main): release netzgrafik-frontend 2.9.7 (#352)
github-actions[bot] Nov 14, 2024
c8eb613
fix: performance issue fixed (part 2) (#354)
aiAdrian Nov 14, 2024
f0969f1
chore(main): release netzgrafik-frontend 2.9.8 (#355)
github-actions[bot] Nov 14, 2024
f939df6
fix: performance opt / refactored (#356)
aiAdrian Nov 14, 2024
e0330ff
chore(main): release netzgrafik-frontend 2.9.9 (#357)
github-actions[bot] Nov 14, 2024
338b69f
Refacto language + add navigator preferences (#349)
louisgreiner Nov 15, 2024
9923567
fix: warn users when having unsymmetric times (#359)
aiAdrian Nov 22, 2024
7d3f42d
chore(main): release netzgrafik-frontend 2.9.10 (#362)
github-actions[bot] Nov 22, 2024
b275b51
chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 (#363)
dependabot[bot] Nov 25, 2024
1f28a51
remove variante read/write button from standalone env (#364)
louisgreiner Nov 28, 2024
454c201
fix: correct connections->transfers naming for O/D matrix (#365)
louisgreiner Nov 28, 2024
53ee469
fix: documentation for 3rd party import (#367)
aiAdrian Nov 28, 2024
518f760
chore(main): release netzgrafik-frontend 2.9.11 (#368)
github-actions[bot] Nov 28, 2024
a1e484a
DO NOT MERGE: publish forked package on NPM
emersion Jun 27, 2024
b1644bc
hack: hide all the return-related toys
emersion Aug 5, 2024
6c39a28
hack: disable saved filters
emersion Aug 6, 2024
c5f6048
hack: disable file imports
emersion Aug 6, 2024
de0b128
hack: disable dark theme by default
emersion Aug 7, 2024
849739c
hack: allow times to be unset
emersion Aug 7, 2024
5e42e86
hack: disable occupancy diagram
emersion Aug 8, 2024
4a44d66
hack: disable duplicate trainrun from dialog
louisgreiner Sep 13, 2024
9724700
hack: disable in edit sidebar netzgrafik-delete netzgrafik-merge and …
Uriel-Sautron Sep 20, 2024
3298a13
hack: disable sbb header
louisgreiner Nov 13, 2024
d2fda0d
hack: disable trainrunSection time warnings
louisgreiner Dec 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
102 changes: 0 additions & 102 deletions .github/workflows/continuous-integration-secure.yml

This file was deleted.

60 changes: 59 additions & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Continuous Integration
on: [push, pull_request]
on: [push]

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand All @@ -11,6 +11,7 @@ permissions:
jobs:
lint:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand Down Expand Up @@ -48,3 +49,60 @@ jobs:
with:
name: build
path: dist/netzgrafik-frontend/

build-standalone:
runs-on: ubuntu-latest
needs: lint
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
- run: npm clean-install
- run: npm run build:standalone
- name: Store build artifacts
uses: actions/upload-artifact@v4
with:
name: build-standalone
path: dist/netzgrafik-frontend/

build-standalonedemo:
runs-on: ubuntu-latest
needs: lint
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
- run: npm clean-install
- run: npm run build:standalonedemo
- name: Store build artifacts
uses: actions/upload-artifact@v4
with:
name: build-standalone-demo
path: dist/netzgrafik-frontend/

publish:
runs-on: ubuntu-latest
needs: build-standalone
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- name: Download build artifacts
uses: actions/download-artifact@v4
with:
name: build-standalone
path: dist/netzgrafik-frontend/
- uses: actions/setup-node@v4
with:
registry-url: 'https://registry.npmjs.org'
- run: npm pkg set name="@osrd-project/netzgrafik-frontend"
- run: npm version --no-git-tag-version "0.0.0-snapshot.$GITHUB_SHA"
- run: npm pkg delete dependencies optionalDependencies devDependencies
- run: npm publish --provenance --access public --tag snapshot
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
32 changes: 32 additions & 0 deletions .github/workflows/deploy-standalone-github.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Deploy static content to GitHub Pages

on:
push:
branches: ['main']

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets the GITHUB_TOKEN permissions to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: 'pages'
cancel-in-progress: true

jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- id: build-publish
uses: bitovi/[email protected]
with:
path: dist/netzgrafik-frontend
build_command: npm run build:standalonedemo -- --base-href=netzgrafik-frontend
64 changes: 62 additions & 2 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# This action automates the creation of releases and changelogs for the project.
#
# https://github.com/marketplace/actions/release-please-action
#
on:
push:
branches:
Expand All @@ -6,14 +10,70 @@ on:
permissions:
contents: write
pull-requests: write
packages: write

name: release-please

jobs:
release-please:
outputs:
release_created: ${{ steps.release.outputs.release_created }}
major: ${{ steps.release.outputs.major }}
minor: ${{ steps.release.outputs.minor }}
patch: ${{ steps.release.outputs.patch }}
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v4
- uses: googleapis/release-please-action@v4
id: release

release:
needs: release-please
if: ${{ needs.release-please.outputs.release_created }}
runs-on: ubuntu-latest
steps:
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/${{ github.repository }}
tags: |
type=raw,value=${{ needs.release-please.outputs.major }}.${{ needs.release-please.outputs.minor }}.${{ needs.release-please.outputs.patch }}
type=raw,value=latest
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to GitHub Container Repository
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v5
with:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

release-npm-package:
needs: release-please
if: ${{ needs.release-please.outputs.release_created }}
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
release-type: node
node-version-file: '.nvmrc'
cache: 'npm'
registry-url: 'https://registry.npmjs.org'
- run: npm clean-install
- run: npm run build:standalone
- run: npm pkg delete dependencies optionalDependencies devDependencies
- run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
40 changes: 0 additions & 40 deletions .github/workflows/release.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "2.9.11"
}
Loading
Loading