Skip to content

Commit

Permalink
Update format action (#695)
Browse files Browse the repository at this point in the history
  • Loading branch information
SleeplessByte committed Jun 9, 2023
1 parent 7b6a1ae commit 506a18b
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 7 deletions.
4 changes: 3 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ tmp/*
/jest.config.js
/jest.runner.config.js

/.yarn

/.eslintrc
/.eslintrc.*
/test/.eslintrc
/test/.eslintrc.*
/test/.eslintrc.*
8 changes: 4 additions & 4 deletions .github/workflows/action-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
github.issues.createComment({
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
Expand All @@ -34,7 +34,7 @@ jobs:
id: fork_status
run: |
IS_FORK="$(jq '.head.repo.fork' "/tmp/pr.json")"
echo "::set-output name=fork::$IS_FORK"
echo "fork=$IS_FORK" >> "$GITHUB_OUTPUT"
- name: 'Setup SSH deploy key'
if: steps.fork_status.outputs.fork == 'false'
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
github.issues.createComment({
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
Expand All @@ -106,7 +106,7 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
github.issues.createComment({
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
Expand Down
5 changes: 4 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@
/dist
/node_modules

/.yarn
/.yarnrc.yml

# These are org-wide files (https://github.com/exercism/org-wide-files/)
/.github/labels.yml
/.github/workflows/sync-labels.yml

/CODE_OF_CONDUCT.md
/LICENSE
/LICENSE
28 changes: 28 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: "@yarnpkg/plugin-workspace-tools"

yarnPath: .yarn/releases/yarn-3.6.0.cjs
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ COPY . .
# Build the test runner
RUN set -ex; \
# install all the development modules (used for building)
yarn plugin import workspace-tools; \
yarn install; \
yarn build; \
rm -rf node_modules; \
# install only the node_modules we need for production
yarn install --production; \
yarn workspaces focus --production; \
# clean our yarn cache
yarn cache clean;

Expand Down

0 comments on commit 506a18b

Please sign in to comment.