Skip to content

Commit

Permalink
Updates repo
Browse files Browse the repository at this point in the history
  • Loading branch information
jesperancinha committed Oct 3, 2024
1 parent 6105418 commit c9f614b
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 1,214 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/loom-action-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v1.1.1
uses: dependabot/fetch-metadata@v2
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Enable auto-merge for Dependabot PRs
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/loom-action-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
- uses: actions/checkout@v4
- name: Set up Node.js 20${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: yarn
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/loom-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
node-version: [18.x]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
- uses: actions/checkout@v4
- name: Set up Node.js 20${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: yarn
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ loom-jdk
index.js
!dist/index.js
!dist/index.js.map
!dist/sourcemap-register.js
!dist/sourcemap-register.js
yarn.lock
27 changes: 25 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,31 @@
include Makefile.mk

b: build test
build:
yarn
npm run build
test:
rm -rf loom-jdk
if [ -f openjdk-19.tar.gz]; then rm openjdk-19.tar.gz; fi; \
node index.js
if [ -f openjdk-19.tar.gz ]; then rm openjdk-19.tar.gz; fi; \
node index.js
remove-lock-files:
find . -name "package-lock.json" | xargs -I {} rm {}; \
find . -name "yarn.lock" | xargs -I {} rm {};
upgrade:
nvm install --lts
update: remove-lock-files
git pull; \
npm install caniuse-lite; \
npm install -g npm-check-updates; \
yarn; \
npx browserslist --update-db; \
ncu -u; \
yarn
deps-npm-update: update
deps-plugins-update:
curl -sL https://raw.githubusercontent.com/jesperancinha/project-signer/master/pluginUpdatesOne.sh | bash -s -- $(PARAMS)
deps-node-update:
curl -sL https://raw.githubusercontent.com/jesperancinha/project-signer/master/nodeUpdatesOne.sh | bash
deps-quick-update: deps-plugins-update deps-node-update deps-npm-update
accept-prs:
curl -sL https://raw.githubusercontent.com/jesperancinha/project-signer/master/acceptPR.sh | bash
1 change: 1 addition & 0 deletions Makefile.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SHELL := /bin/sh
Loading

0 comments on commit c9f614b

Please sign in to comment.