You've already forked tf2wikipricing
ci: declare global vars in test environment
This commit is contained in:
@@ -18,10 +18,13 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v4.1.2
|
uses: actions/checkout@v4.1.2
|
||||||
|
- name: Read package version
|
||||||
|
uses: tyankatsu0105/read-package-version-actions@v1
|
||||||
|
id: version
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: bun install
|
run: bun install
|
||||||
- name: Test project
|
- name: Test project
|
||||||
run: bun test
|
run: bun test --define __VERSION__='${{ need.build.outputs.version }}' --define __EXTENSION_NAME='"tf2wikipricing"'
|
||||||
- name: Build project
|
- name: Build project
|
||||||
run: bun run build
|
run: bun run build
|
||||||
- name: Archive production artifacts
|
- name: Archive production artifacts
|
||||||
|
|||||||
Reference in New Issue
Block a user