From 79bfc53e7a36e567ae8e03de8c019eadf37a74f9 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 | 24 ++++++++++++++++++++++++ 1 file changed, 24 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..ef799feb --- /dev/null +++ b/.github/workflows/verify.yml @@ -0,0 +1,24 @@ +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 run verify