Skip to content

Commit

Permalink
ghasec part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
pirog committed Mar 28, 2024
1 parent 7502b42 commit 14e35fe
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pr-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: yarn
- name: Install Yarn dependencies
run: yarn install --prefer-offline --frozen-lockfile
cache: npm
- name: Install dependencies
run: npm clean-install --prefer-offline --frozen-lockfile

# Lint Code
- name: Lint code
run: yarn lint
run: npm run lint
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: yarn
cache: npm
- name: Install dependencies
run: yarn install
run: npm clean-install
- name: Lint
run: yarn lint
run: npm run lint
- name: Prepare release
uses: lando/prepare-release-action@v3
with:
Expand Down
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,15 +118,14 @@ We try to log all changes big and small in both [THE CHANGELOG](https://github.c

## Development

* Requires [Node 14+](https://nodejs.org/dist/latest-v14.x/)
* Prefers [Yarn](https://classic.yarnpkg.com/lang/en/docs/install)
* Requires [Node 18+](https://nodejs.org/dist/latest-v14.x/)

```bash
git clone https://github.com/lando/transfer-issue-action.git && cd transfer-issue-action
yarn install
npm install
```

If you dont' want to install Node 14 or Yarn for whatever reason you can install [Lando](https://docs.lando.dev/basics/installation.html) and use that:
If you dont' want to install Node 18+ for whatever reason you can install [Lando](https://docs.lando.dev/basics/installation.html) and use that:

```bash
git clone https://github.com/lando/transfer-issue-action.git && cd transfer-issue-action
Expand All @@ -135,14 +134,14 @@ lando start

# Run commands
lando node
lando yarn
lando npm
```

## Testing

```bash
# Lint the code
yarn lint
npm run lint
```

You can also open up a PR to test the action out.
Expand Down

0 comments on commit 14e35fe

Please sign in to comment.