generated from threeal/action-starter
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e1ff8d4
commit 334971f
Showing
14 changed files
with
33,583 additions
and
5,231 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,21 +17,18 @@ jobs: | |
with: | ||
node-version-file: .nvmrc | ||
|
||
- name: Setup Yarn | ||
uses: threeal/[email protected] | ||
- name: Install Dependencies | ||
run: npm ci | ||
|
||
- name: Check Formatting | ||
run: | | ||
yarn format | ||
npm run format | ||
git diff && git diff-index --quiet --exit-code HEAD | ||
- name: Check Lint | ||
run: yarn lint | ||
|
||
- name: Test Action | ||
run: yarn test | ||
run: npm run lint | ||
|
||
- name: Build Action | ||
run: | | ||
yarn build | ||
npm run build | ||
git diff && git diff-index --quiet --exit-code HEAD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,11 +7,7 @@ on: | |
jobs: | ||
test-action: | ||
name: Test Action | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-22.04, macos-14, windows-2022] | ||
runs-on: blacksmith | ||
steps: | ||
- name: Checkout Action | ||
uses: actions/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
# TODO: Modify the following metadata according to the project's specifications. | ||
|
||
name: Mkdir Action | ||
author: Alfi Maulana | ||
description: Create a new directory | ||
name: "Delete Blacksmith Cache" | ||
author: Aayush Shah | ||
description: "Deletes a cache or specific cache version from Blacksmith" | ||
branding: | ||
icon: folder-plus | ||
color: black | ||
inputs: | ||
path: | ||
description: Path of the directory to create | ||
key: | ||
description: "The cache key to delete" | ||
required: true | ||
version: | ||
description: "Specific version of the cache to delete (optional)" | ||
required: false | ||
runs: | ||
using: node20 | ||
main: dist/main.bundle.mjs | ||
using: "node20" | ||
main: "dist/index.js" |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.