mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-17 19:21:26 +00:00
ci: rename ci.yml
This commit is contained in:
parent
02d1a8b692
commit
b54fda9457
1 changed files with 1 additions and 1 deletions
31
.github/workflows/ci.yml
vendored
31
.github/workflows/ci.yml
vendored
|
@ -1,31 +0,0 @@
|
|||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches: [master]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/cache@v4
|
||||
id: npm-cache
|
||||
with:
|
||||
path: "**/node_modules"
|
||||
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm install
|
||||
|
||||
- name: Build the codebase
|
||||
run: npm run build:lib
|
||||
|
||||
- name: Test types
|
||||
run: npm run test:types
|
||||
|
||||
- name: Trigger deploy
|
||||
if: github.ref == 'refs/heads/master'
|
||||
env:
|
||||
deploy_url: ${{ secrets.RENDER_DEPLOY_HOOK_URL }}
|
||||
run: |
|
||||
curl "$deploy_url"
|
Loading…
Add table
Add a link
Reference in a new issue