Skip to content

Commit

Permalink
Another try at workspace directory
Browse files Browse the repository at this point in the history
  • Loading branch information
loganvolkers authored May 13, 2024
1 parent aab3a70 commit 3263a6f
Showing 1 changed file with 2 additions and 25 deletions.
27 changes: 2 additions & 25 deletions .github/workflows/merge-to-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,40 +19,16 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@v4

- name: Debug
run: |
pwd;
echo $GITHUB_WORKSPACE;
echo ${{github.workspace}};
- name: Setup Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20

- name: Debug
run: |
pwd;
echo $GITHUB_WORKSPACE;
echo ${{github.workspace}};
- uses: bahmutov/npm-install@v1

- name: Debug
run: |
pwd;
echo $GITHUB_WORKSPACE;
echo ${{github.workspace}};

- name: Build
run: npm run build

- name: Debug
run: |
pwd;
echo $GITHUB_WORKSPACE;
echo ${{github.workspace}};
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
Expand All @@ -62,7 +38,8 @@ jobs:
version: npm run version
# Runs changesets on publish - will create tags and deploy to NPM
publish: npm run publish
cwd: $GITHUB_WORKSPACE
# From $GITHUB_WORKSPACE -- we should do this better
cwd: /__w/raisins/raisins
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.LOGAN_NPM_PUBLISHING_TOKEN }}

0 comments on commit 3263a6f

Please sign in to comment.