Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ncc to bundle the action for deployment #5

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 56 additions & 24 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,12 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: install deps
run: npm ci
- name: build action
shell: bash
run: |
npm ci
npm run build
rm -rf node_modules
- name: run action
uses: ./
- name: test MSYS
Expand All @@ -31,8 +35,12 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: install deps
run: npm ci
- name: build action
shell: bash
run: |
npm ci
npm run build
rm -rf node_modules
- name: run action
uses: ./
- name: test MSYS
Expand All @@ -55,8 +63,12 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: install deps
run: npm ci
- name: build action
shell: bash
run: |
npm ci
npm run build
rm -rf node_modules
- name: run action
uses: ./
- name: test MSYS
Expand All @@ -79,8 +91,12 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: install deps
run: npm ci
- name: build action
shell: bash
run: |
npm ci
npm run build
rm -rf node_modules
- name: run action
uses: ./
with:
Expand All @@ -94,8 +110,12 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: install deps
run: npm ci
- name: build action
shell: bash
run: |
npm ci
npm run build
rm -rf node_modules
- name: run action
uses: ./
with:
Expand All @@ -106,21 +126,33 @@ jobs:
MSYS2_PATH_TYPE:
runs-on: windows-latest
steps:
- uses: actions/setup-go@v1
- uses: actions/checkout@v1
- run: yarn
- uses: ./
- run: msys2do go env
env:
MSYS2_PATH_TYPE: inherit
- uses: actions/setup-go@v1
- uses: actions/checkout@v1
- name: build action
shell: bash
run: |
npm ci
npm run build
rm -rf node_modules
- name: run action
uses: ./
- run: msys2do go env
env:
MSYS2_PATH_TYPE: inherit

path-type:
runs-on: windows-latest
steps:
- uses: actions/setup-go@v1
- uses: actions/checkout@v1
- run: yarn
- uses: ./
with:
path-type: inherit
- run: msys2do go env
- uses: actions/setup-go@v1
- uses: actions/checkout@v1
- name: build action
shell: bash
run: |
npm ci
npm run build
rm -rf node_modules
- name: run action
uses: ./
with:
path-type: inherit
- run: msys2do go env
File renamed without changes.
Loading