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

⬆️ Update engine and dependencies #363

Merged
merged 8 commits into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from 2 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
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
fetch-depth: 1

- name: 🚀 Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
node-version-file: .nvmrc
cache: npm

- name: 📦 Install dependencies
Expand All @@ -42,9 +42,9 @@ jobs:
fetch-depth: 1

- name: 🚀 Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
node-version-file: .nvmrc
cache: npm

- name: 📦 Install dependencies
Expand Down Expand Up @@ -95,9 +95,9 @@ jobs:
fetch-depth: 1

- name: 🚀 Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
node-version-file: .nvmrc
cache: npm

- name: 📦 Install dependencies
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/hash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
fetch-depth: 1

- name: 🚀 Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
node-version-file: .nvmrc
cache: npm

- name: 📦 Install dependencies
Expand All @@ -31,7 +31,7 @@ jobs:
npx esbuild src/app.js
--outfile=tmp/label-sync-action.cjs
--platform=node
--target=node16
--target=node20
--minify
--bundle
- name: 🛡️ Verify Hash dist/label-sync-action.cjs
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v20
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ branding:
color: blue

runs:
using: node16
using: node20
main: dist/label-sync-action.cjs

inputs:
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "label-sync-action",
"version": "1.0.2",
"version": "2.0.0",
"engines": {
"node": "v16",
"node": "v20",
"npm": "v8"
},
"description": "Keeps your labels in sync in a GitHub repo(s) from a config file. Manage all tags from all your repositories in a single place.",
"main": "dist/label-sync-action.cjs",
"type": "module",
"scripts": {
"dist": "npm run bundle",
"bundle": "esbuild --outfile=dist/label-sync-action.cjs --platform=node --target=node16 --minify --bundle src/app.js",
"bundle": "esbuild --outfile=dist/label-sync-action.cjs --platform=node --target=node20 --minify --bundle src/app.js",
"build:esm": " tsc --target es2022 --module es2022 --outDir build/esm2022 && tsc-alias --dir build/esm2022",
"build:esm6": "tsc --target es6 --module esm6 --outDir build/es6 && tsc-alias --dir build/esm6",
"build:cjs": " tsc --target es6 --module commonjs --outDir build/cjs && tsc-alias --dir build/cjs",
Expand Down
Loading