Remove Bun, use pnpm
This commit is contained in:
parent
42b724966d
commit
5a94bc5dd3
@ -1,17 +1,22 @@
|
||||
pipeline {
|
||||
agent any
|
||||
environment {
|
||||
PATH = "/var/lib/jenkins/.bun/bin/:/var/lib/jenkins/bin:/var/lib/jenkins/.nvm/versions/node/v20.9.0/bin:${env.PATH}"
|
||||
PATH = "/var/lib/jenkins/bin:/var/lib/jenkins/.nvm/versions/node/v20.9.0/bin:${env.PATH}"
|
||||
}
|
||||
stages {
|
||||
stage('Install deps') {
|
||||
steps {
|
||||
sh 'bun i'
|
||||
sh 'pnpm i'
|
||||
}
|
||||
}
|
||||
stage("Test") {
|
||||
steps {
|
||||
sh 'pnpm test'
|
||||
}
|
||||
}
|
||||
stage('Build bundle') {
|
||||
steps {
|
||||
sh 'bun run build'
|
||||
sh 'pnpm build'
|
||||
}
|
||||
}
|
||||
stage('Deploy') {
|
||||
|
@ -6,6 +6,7 @@
|
||||
"dev": "astro dev",
|
||||
"start": "astro dev",
|
||||
"build": "astro build",
|
||||
"test": "vitest run",
|
||||
"preview": "astro preview",
|
||||
"astro": "astro"
|
||||
},
|
||||
@ -13,10 +14,10 @@
|
||||
"@astrojs/check": "^0.5.10",
|
||||
"@astrojs/mdx": "^2.3.0",
|
||||
"@astrojs/tailwind": "^5.1.0",
|
||||
"@types/bun": "^1.0.12",
|
||||
"astro": "^4.6.1",
|
||||
"codejar": "^4.2.0",
|
||||
"tailwindcss": "^3.4.3",
|
||||
"typescript": "^5.4.5"
|
||||
"typescript": "^5.4.5",
|
||||
"vitest": "^1.5.0"
|
||||
}
|
||||
}
|
5680
pnpm-lock.yaml
Normal file
5680
pnpm-lock.yaml
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
||||
import { expect, test, describe } from "bun:test";
|
||||
import { expect, test, describe } from "vitest";
|
||||
import { scan_identifier } from "./identifier_lexer";
|
||||
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { expect, test, describe } from "bun:test";
|
||||
import { expect, test, describe } from "vitest";
|
||||
import { lex } from "./lexer";
|
||||
|
||||
describe("Lexer", () => {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { expect, test, describe } from "bun:test";
|
||||
import { expect, test, describe } from "vitest";
|
||||
import { scan_number } from "./number_lexer";
|
||||
|
||||
describe("Number Lexer", () => {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { expect, test, describe } from "bun:test";
|
||||
import { expect, test, describe } from "vitest";
|
||||
import { scan_string } from "./string_lexer";
|
||||
|
||||
describe("String Lexer", () => {
|
||||
|
Loading…
Reference in New Issue
Block a user