1
0
mirror of https://github.com/benjlevesque/short-sha.git synced 2026-07-04 07:39:20 +02:00

chore: package upgrades & switch to npm

This commit is contained in:
Benjamin Levesque
2026-05-09 19:51:06 +02:00
parent 5f991653a0
commit dbe07338b3
7 changed files with 6324 additions and 3580 deletions
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
eval "$(devenv direnvrc)"
use devenv
+3 -3
View File
@@ -18,11 +18,11 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'yarn'
cache: 'npm'
- name: Install project dependencies
run: yarn --prefer-offline
run: npm install
- name: Build
run: yarn build
run: npm run build
- name: Commit & Push changes
run: |
git config user.name 'github-actions[bot]'
+5 -2
View File
@@ -12,8 +12,11 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: |
yarn
yarn all
npm i
npm run format
npm run lint
npm run test
npm run build
test: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
steps:
+11
View File
@@ -0,0 +1,11 @@
{ pkgs, config, ... }:
{
languages.javascript = {
enable = true;
npm.enable = true;
};
packages = [ ];
enterShell = "";
}
+6299
View File
File diff suppressed because it is too large Load Diff
+1 -2
View File
@@ -9,8 +9,7 @@
"format": "prettier --write **/*.ts",
"format-check": "prettier --check **/*.ts",
"lint": "eslint src/**/*.ts",
"test": "jest",
"all": "yarn build && yarn format && yarn lint && yarn pack && yarn test"
"test": "jest"
},
"repository": {
"type": "git",
-3573
View File
File diff suppressed because it is too large Load Diff