Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ghasec #83

Merged
merged 3 commits into from
Mar 28, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/manual-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
os:
- ubuntu-20.04
- ubuntu-22.04
router:
- manual_issue_transfer_action_test:transfer-issue-action
- holla-tronic:transfer-issue-action
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pr-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
os:
- ubuntu-22.04
node-version:
- '14'
- '20'
steps:
# Install deps and cache
- name: Checkout code
Expand All @@ -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
13 changes: 8 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
os:
- ubuntu-22.04
node-version:
- '16'
- '20'

steps:
- name: Checkout code
Expand All @@ -25,12 +25,15 @@ 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@v2
uses: lando/prepare-release-action@v3
with:
sync-tags: v2
sync-token: ${{ secrets.RTFM47_COAXIUM_INJECTOR }}
sync-email: [email protected]
sync-username: rtfm-47
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ typings/

# Yarn Integrity file
.yarn-integrity
yarn.lock

# dotenv environment variables file
.env
Expand Down
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodejs 20
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## v2.1.0 [March 28, 2024](https://github.com/lando/transfer-issue-action/releases/tag/v2.1.0)

* Updated to `node20`
* Deyarned

## v2.0.5 [June 17, 2021](https://github.com/lando/transfer-issue-action/releases/tag/v2.0.5)

* Switched release flow over to [@lando/prepare-release-action](https://github.com/lando/prepare-release-action)
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16-alpine
FROM node:20-alpine
COPY . .
RUN yarn install --production
RUN npm clean-install --production
ENTRYPOINT [ "node", "/lib/index.js" ]
6 changes: 0 additions & 6 deletions FUNDING.yml

This file was deleted.

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
Loading
Loading