From 4005ed2615f7818a1e5372d1fcad13154942e89f Mon Sep 17 00:00:00 2001 From: R-J Lim Date: Fri, 29 Dec 2023 09:59:47 +0900 Subject: [PATCH] Github action to verify build --- .github/workflows/verify.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/verify.yml diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml new file mode 100644 index 00000000..0bce9b09 --- /dev/null +++ b/.github/workflows/verify.yml @@ -0,0 +1,25 @@ +name: Verify + +on: + push: + branches: [$default-branch] + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [18.x] + steps: + - uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + - run: npm install --global yarn + - run: yarn set version 3.2.0 + - run: yarn install + - run: yarn run verify