mirror of
https://github.com/lukaszraczylo/shared-actions.git
synced 2026-10-12 04:54:48 +00:00
scripts/check-actions.sh runs actionlint and checks that every external uses: reference resolves. The validate workflow runs it, then runs the go-test and node-build actions and the node-pr workflow against small fixtures, so a bump of an action they use is exercised before it merges. renovate.json bumps the actions this repository uses. Minor and patch bumps merge themselves once validate is green. Major bumps wait for a person, because every consumer calls these actions at @main. The same script runs as a Renovate post-upgrade task and marks a failing branch so no PR opens.
7 lines
136 B
JavaScript
7 lines
136 B
JavaScript
const test = require('node:test');
|
|
const assert = require('node:assert');
|
|
|
|
test('addition', () => {
|
|
assert.strictEqual(2 + 3, 5);
|
|
});
|