diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8bda4ca..e934f81 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,6 +5,10 @@ on: branches: - master - develop + pull_request: + branches: + - master + jobs: build_on_linux: runs-on: ubuntu-latest @@ -16,7 +20,7 @@ jobs: - uses: actions/checkout@master - uses: actions/setup-node@master with: - node-version: 16 + node-version: 19 - run: npm install - run: npm run build - uses: actions/upload-artifact@master @@ -25,12 +29,12 @@ jobs: path: dist/ build_on_mac: - runs-on: macOS-latest + runs-on: macos-latest steps: - uses: actions/checkout@master - uses: actions/setup-node@master with: - node-version: 16 + node-version: 19 - run: npm install - run: npm run build - uses: actions/upload-artifact@master @@ -44,7 +48,7 @@ jobs: - uses: actions/checkout@master - uses: actions/setup-node@master with: - node-version: 16 + node-version: 19 - run: npm install - run: npm run build - uses: actions/upload-artifact@master