Skip to content

Commit

Permalink
👷 ci: Debugging Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
fwestling committed Mar 21, 2024
1 parent 6e26653 commit d522b82
Showing 1 changed file with 11 additions and 17 deletions.
28 changes: 11 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}

env:
CI: true
NODE_VERSION: "20.x"
PNPM_CACHE_FOLDER: .pnpm-store
NODE_VERSION: 20

jobs:
test:
Expand All @@ -23,33 +22,28 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout code repository
uses: actions/checkout@v3
with:
fetch-depth: 0
uses: actions/checkout@v4

- name: setup node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}

- name: install pnpm
run: npm i pnpm@latest -g

- name: Setup npmrc
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc

- name: setup pnpm config
run: pnpm config set store-dir $PNPM_CACHE_FOLDER
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
run_install: false

- name: install dependencies
- name: Install dependencies
run: pnpm install

- name: create and publish versions
uses: changesets/action@v1
with:
version: pnpm ci:version
commit: "chore: update versions"
title: "chore: update versions"
commit: ":memo: chore: update versions"
title: ":memo: chore: update versions"
publish: pnpm ci:publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit d522b82

Please sign in to comment.