diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..a28fcd7 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,17 @@ +name: 'build' +on: # rebuild any PRs and main branch changes + pull_request: + push: + branches: + - main + - 'releases/*' + +jobs: + build: # make sure build/ci work properly + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - run: | + npm install + - run: | + npm run all diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 169e19c..5e25f99 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,20 +1,8 @@ name: 'build-test' on: # rebuild any PRs and main branch changes pull_request: - push: - branches: - - main - - 'releases/*' jobs: - build: # make sure build/ci work properly - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - run: | - npm install - - run: | - npm run all test: # make sure the action works on a clean machine without building runs-on: ubuntu-latest steps: