Use node 20 in github workflows (#33) #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Push Main | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
lint_build_test: | |
name: "Lint, Built, & Test" | |
uses: ./.github/workflows/action-lint-build-test.yml | |
secrets: inherit | |
changeset: | |
name: "Changeset" | |
needs: lint_build_test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
always-auth: true | |
cache: yarn | |
node-version: 20 | |
- name: Install yarn packages | |
run: yarn install --frozen-lockfile | |
- name: Create Release Pull Request or Release | |
id: changeset | |
uses: changesets/action@v1 | |
with: | |
publish: yarn release | |
title: Version Release | |
commit: Version Release | |
env: | |
GITHUB_TOKEN: ${{ secrets.PUBLISH_PACKAGES }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |