Skip to content

Commit

Permalink
Add self-hosted runner logic and dummy test
Browse files Browse the repository at this point in the history
  • Loading branch information
TwitchBronBron committed Dec 13, 2023
1 parent 674aa38 commit 3bcf769
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Expand Up @@ -9,14 +9,15 @@ on:

jobs:
ci:
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@master
with:
node-version: "18.15.0"
- run: npm ci
- run: npm run build
- run: npm run test
npm-release:
#only run this task for version-tagged releases
if: startsWith(github.ref, 'refs/tags/v')
Expand All @@ -35,7 +36,7 @@ jobs:
# Make the promises.zip, remove promises_ prefix in prep for ropm publishing
- name: Build project, prepare github release, prepare for npm/ropm release
run: npm run prepare-releases

#create GitHub release
- name: Create GitHub Release
id: create_release
Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -7,6 +7,7 @@
"scripts": {
"preversion": "npm run build",
"build": "bsc --create-package=false",
"test": "echo it works!",
"prepare-releases": "npx ts-node ./scripts/prepare-releases.ts"
},
"devDependencies": {
Expand Down

0 comments on commit 3bcf769

Please sign in to comment.