diff --git a/.github/workflows/github-release.yml b/.github/workflows/github-release.yml index 49e8c70..81700c2 100644 --- a/.github/workflows/github-release.yml +++ b/.github/workflows/github-release.yml @@ -12,10 +12,10 @@ jobs: - name: Check out code uses: actions/checkout@v4 - - name: Set up node + - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 cache: "yarn" - name: Install dependencies diff --git a/.github/workflows/lint-type-check-and-build.yaml b/.github/workflows/lint-type-check-and-build.yaml index 2097bc6..4367c75 100644 --- a/.github/workflows/lint-type-check-and-build.yaml +++ b/.github/workflows/lint-type-check-and-build.yaml @@ -17,19 +17,20 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: "20" + node-version: 20 + cache: "yarn" - name: Setup .env file run: echo "${{ secrets.DOT_ENV_FILE_CONTENT }}" > .env - name: Install dependencies - run: npm install + run: yarn - name: Lint - run: npm run lint + run: yarn lint - name: Type check - run: npm run type-check + run: yarn type-check - name: Build - run: npm run build + run: yarn build