Skip to content
Open
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
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Collapse generated bundles in PR diffs (composite action ncc output).
**/dist/** linguist-generated
42 changes: 14 additions & 28 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,41 +1,27 @@
name: Validate
on: push

# Cancel superseded runs on the same ref (same behavior as the former cleanup job: skip for master and tags).
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ !startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/master' }}

jobs:
# This jobs stops already running builds in current branch
# except master and tags
cleanup-runs:
name: "Cleanup running builds for current branch"
runs-on: ubuntu-latest
steps:
- uses: rokroskar/workflow-run-cleanup-action@v0.2.2
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/master'"
test:
name: "Test"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Read Node.JS version
id: versions
run: |
echo "node_version=$(cat .node-version)" >> $GITHUB_OUTPUT
- uses: actions/checkout@v6

- name: Install Node.JS
uses: actions/setup-node@v1
uses: actions/setup-node@v6
Comment thread
leonid-shevtsov marked this conversation as resolved.
with:
node-version: ${{ steps.versions.outputs.node_version }}
node-version-file: ".node-version"
cache: yarn

- name: Restore node_modules cache
uses: actions/cache@v3
id: yarn-cache
with:
path: "**/node_modules"
key: v1-${{ runner.os }}-${{steps.versions.outputs.node_version}}-yarn-${{ hashFiles('yarn.lock') }}
restore-keys: |
v1-${{ runner.os }}-${{steps.versions.outputs.node_version}}-yarn-
# Lockfile is Yarn v1; runners may ship a newer global Yarn.
- name: Use Yarn classic
run: npm install -g yarn@1.22.22

- name: Install Javascript dependencies
run: yarn install
Expand All @@ -60,13 +46,13 @@ jobs:

- name: Upload git diff
if: ${{ failure() }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: diff_failed
path: tmp/

- name: Notify unsuccessful build
uses: 8398a7/action-slack@v3
uses: 8398a7/action-slack@v3.19.0
with:
status: ${{ job.status }}
author_name: GA Deployer
Expand Down
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.11.1
22.22.2
2 changes: 1 addition & 1 deletion fetch-task-definition/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ outputs:
filename:
description: 'Task definition filename'
runs:
using: 'node20'
using: 'node24'
main: 'dist/index.js'
4 changes: 3 additions & 1 deletion fetch-task-definition/dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion fetch-task-definition/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"main": "index.js",
"private": true,
"dependencies": {
"@actions/core": "^1.9.1"
"@actions/core": "^1.11.1"
},
"devDependencies": {
"@vercel/ncc": "~>0.38.1"
Expand Down
2 changes: 1 addition & 1 deletion github-ref-to-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ outputs:
description: 'Environment name'

runs:
using: "node20"
using: "node24"
main: "dist/index.js"
4 changes: 3 additions & 1 deletion github-ref-to-env/dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion github-ref-to-env/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"main": "index.js",
"private": true,
"dependencies": {
"@actions/core": "^1.9.1"
"@actions/core": "^1.11.1"
},
"devDependencies": {
"@vercel/ncc": "~>0.38.1"
Expand Down
2 changes: 1 addition & 1 deletion read-from-ssm-param-store/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ outputs:
param_json:
description: "Parameters JSON"
runs:
using: "node20"
using: "node24"
main: "dist/index.js"
Loading
Loading