Skip to content

Commit

Permalink
Fix ci workflow for composite action
Browse files Browse the repository at this point in the history
  • Loading branch information
bigdaz committed Apr 12, 2024
1 parent dd182d1 commit a9c500b
Showing 1 changed file with 0 additions and 42 deletions.
42 changes: 0 additions & 42 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,6 @@ on: # rebuild any PRs and main branch changes
- 'releases/*'

jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Build and test
run: |
npm -v
node -v
npm clean-install
npm run all

# Integration test for successful validation of wrappers
test-validation-success:
Expand All @@ -31,19 +15,6 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- name: Build action (pull request)
# Pull requests are not expected to update `dist/index.js` themselves; therefore build `dist/index.js`
# here before running integration test
if: github.event_name == 'pull_request'
run: |
npm clean-install
npm run build
- name: Run wrapper-validation-action
id: action-test
uses: ./
Expand Down Expand Up @@ -71,19 +42,6 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- name: Build action (pull request)
# Pull requests are not expected to update `dist/index.js` themselves; therefore build `dist/index.js`
# here before running integration test
if: github.event_name == 'pull_request'
run: |
npm clean-install
npm run build
- name: Run wrapper-validation-action
id: action-test
uses: ./
Expand Down

0 comments on commit a9c500b

Please sign in to comment.