From ac3cf49c144126ae3ce4fc94ac6e584aaafc3d27 Mon Sep 17 00:00:00 2001 From: Yusuke Wada Date: Sat, 24 Dec 2022 20:57:10 +0900 Subject: [PATCH] fixed gh actions --- .github/workflows/ci-hello.yml | 2 +- .github/workflows/release.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-hello.yml b/.github/workflows/ci-hello.yml index 3375de79..8abbe36f 100644 --- a/.github/workflows/ci-hello.yml +++ b/.github/workflows/ci-hello.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: 16.x + node-version: 18.x - run: yarn install --frozen-lockfile - run: yarn build - run: yarn test diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6886e411..1f68c573 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,10 +15,10 @@ jobs: - name: Checkout Repo uses: actions/checkout@v2 - - name: Setup Node.js 16.x + - name: Setup Node.js 18.x uses: actions/setup-node@v2 with: - node-version: 16.x + node-version: 18.x - name: Install Dependencies run: yarn @@ -27,7 +27,7 @@ jobs: id: changesets uses: changesets/action@v1 with: - publish: yarn changeset publish + publish: yarn build && yarn changeset publish env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}