Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
25 changes: 22 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,22 @@ on:
tags-ignore:
- '**'
jobs:
checkExecution:
runs-on: ubuntu-latest
outputs:
shouldExecute: ${{ steps.stepCheckExecution.outputs.shouldExecute }}
steps:
- id: stepCheckExecution
name: Check for execution
uses: shiftcode/github-action-skip@9d4a90c80567f59dfaacf18fe703a324583c742e #v5.0.0
with:
skipOnCommitMsg: '[skip_build]'
githubToken: ${{ secrets.GITHUB_TOKEN }}
test:
runs-on: ubuntu-latest
needs: checkExecution
# only execute if not skipped by commit message
if: needs.checkExecution.outputs.shouldExecute == 'true'
strategy:
matrix:
# Test with Node.js 24 and v25
Expand All @@ -31,7 +45,7 @@ jobs:
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd #v5.0.1
# setup node and dependency cache
- name: Setup Node and NPM Cache
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 #v5.0.0
with:
node-version: ${{ matrix.node }}
cache: 'npm'
Expand All @@ -46,7 +60,9 @@ jobs:
permissions:
contents: write
packages: write
needs: test
needs: [checkExecution, test]
# only execute if not skipped by commit message
if: needs.checkExecution.outputs.shouldExecute == 'true'
steps:
# checkout branch
- name: Checkout
Expand All @@ -56,7 +72,7 @@ jobs:
fetch-depth: 0
# setup node and dependency cache
- name: Setup Node and NPM Cache
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 #v5.0.0
with:
node-version-file: .nvmrc
cache: 'npm'
Expand Down Expand Up @@ -84,3 +100,6 @@ jobs:
npm run publish-libs
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
# necessary to commit on protected branch after merging
# and to run actions after version-bump commit (otherwise we can't create rules for merging as no workflows run after GITHUB_TOKEN commits)
GH_TOKEN: ${{ secrets.GH_TOKEN }}
54 changes: 27 additions & 27 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/airtable-mapper/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shiftcode/airtable-mapper",
"version": "1.0.0-pr254.14",
"version": "1.0.0-pr77.2",
"description": "interfaces and classes for airtable mapping",
"repository": "https://github.com/shiftcode/sc-commons-public",
"license": "MIT",
Expand Down
10 changes: 5 additions & 5 deletions packages/airtable-syncer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shiftcode/airtable-syncer",
"version": "1.0.0-pr254.14",
"version": "1.0.0-pr77.2",
"description": "base utils and services to export airtable and upload to S3",
"repository": "https://github.com/shiftcode/sc-commons-public",
"license": "MIT",
Expand Down Expand Up @@ -28,10 +28,10 @@
"p-queue": "^9.0.1"
},
"devDependencies": {
"@shiftcode/airtable-mapper": "^1.0.0-pr254.14",
"@shiftcode/inversify-logger": "^1.0.0-pr254.14",
"@shiftcode/lambda-utilities": "^1.0.0-pr254.14",
"@shiftcode/logger": "^5.0.0-pr254.17",
"@shiftcode/airtable-mapper": "^1.0.0-pr77.2",
"@shiftcode/inversify-logger": "^1.0.0-pr77.2",
"@shiftcode/lambda-utilities": "^1.0.0-pr77.2",
"@shiftcode/logger": "^5.0.0-pr77.2",
"@swc/core": "^1.15.11",
"unplugin-swc": "^1.5.9"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/branch-utilities/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shiftcode/branch-utilities",
"version": "6.0.0-pr254.17",
"version": "6.0.0-pr77.2",
"description": "Utilities for local and ci to get branch name and stage",
"repository": "https://github.com/shiftcode/sc-commons-public",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/cdk-utilities/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shiftcode/cdk-utilities",
"version": "1.0.0-pr254.14",
"version": "1.0.0-pr77.2",
"description": "Constructs for iac with aws-cdk-lib",
"repository": "https://github.com/shiftcode/sc-commons-public",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions packages/eslint-config-recommended/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shiftcode/eslint-config-recommended",
"version": "7.0.0-pr254.17",
"version": "7.0.0-pr77.2",
"description": "default shiftcode config for eslint",
"repository": "https://github.com/shiftcode/sc-commons-public",
"license": "MIT",
Expand Down Expand Up @@ -28,7 +28,7 @@
},
"dependencies": {
"@eslint/js": "^9.37.0",
"@shiftcode/eslint-plugin-rules": "^6.0.0-pr254.17",
"@shiftcode/eslint-plugin-rules": "^6.0.0-pr77.2",
"eslint": "^9.37.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import": "^2.32.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-rules/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shiftcode/eslint-plugin-rules",
"version": "6.0.0-pr254.17",
"version": "6.0.0-pr77.2",
"description": "eslint-rules for shiftcode-specific eslint rules",
"repository": "https://github.com/shiftcode/sc-commons-public",
"license": "MIT",
Expand Down
6 changes: 3 additions & 3 deletions packages/iac-utilities/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shiftcode/iac-utilities",
"version": "1.0.0-pr254.14",
"version": "1.0.0-pr77.2",
"description": "scripts and util functions for aws iac",
"repository": "https://github.com/shiftcode/sc-commons-public",
"license": "MIT",
Expand Down Expand Up @@ -54,8 +54,8 @@
"@aws-sdk/client-s3": "^3.204.0",
"@aws-sdk/credential-providers": "^3.204.0",
"@aws-sdk/types": "^3.201.0",
"@shiftcode/branch-utilities": "^6.0.0-pr254.17",
"@shiftcode/lambda-utilities": "^1.0.0-pr254.14",
"@shiftcode/branch-utilities": "^6.0.0-pr77.2",
"@shiftcode/lambda-utilities": "^1.0.0-pr77.2",
"@types/yargs": "^17.0.5"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/inversify-logger/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shiftcode/inversify-logger",
"version": "1.0.0-pr254.14",
"version": "1.0.0-pr77.2",
"description": "InversifyJS support for the logger package",
"repository": "https://github.com/shiftcode/sc-commons-public",
"license": "MIT",
Expand Down Expand Up @@ -28,7 +28,7 @@
"test:watch": "vitest --cache"
},
"devDependencies": {
"@shiftcode/logger": "^5.0.0-pr254.17",
"@shiftcode/logger": "^5.0.0-pr77.2",
"inversify": "^7.0.0",
"reflect-metadata": "^0.2.0"
},
Expand Down
8 changes: 4 additions & 4 deletions packages/lambda-utilities/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shiftcode/lambda-utilities",
"version": "1.0.0-pr254.14",
"version": "1.0.0-pr77.2",
"description": "Utils for lambda functions",
"repository": "https://github.com/shiftcode/sc-commons-public",
"license": "MIT",
Expand Down Expand Up @@ -34,9 +34,9 @@
"devDependencies": {
"@aws-sdk/client-s3": "^3.204.0",
"@aws-sdk/client-ssm": "^3.204.0",
"@shiftcode/inversify-logger": "^1.0.0-pr254.14",
"@shiftcode/logger": "^5.0.0-pr254.17",
"@shiftcode/utilities": "^5.0.0-pr254.17",
"@shiftcode/inversify-logger": "^1.0.0-pr77.2",
"@shiftcode/logger": "^5.0.0-pr77.2",
"@shiftcode/utilities": "^5.0.0-pr77.2",
"@types/aws-lambda": "^8.10.89",
"inversify": "^7.0.0",
"reflect-metadata": "^0.1.13 || ^0.2.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/logger/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shiftcode/logger",
"version": "5.0.0-pr254.17",
"version": "5.0.0-pr77.2",
"description": "logger for local and aws lambda execution",
"repository": "https://github.com/shiftcode/sc-commons-public",
"license": "MIT",
Expand Down Expand Up @@ -32,7 +32,7 @@
"test:watch": "vitest --cache"
},
"devDependencies": {
"@shiftcode/utilities": "^5.0.0-pr254.17"
"@shiftcode/utilities": "^5.0.0-pr77.2"
},
"peerDependencies": {
"@shiftcode/utilities": "^5.0.0 || ^5.0.0-pr254"
Expand Down
Loading