Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit 43dae76

Browse files
authored
ci: Move to GitHub Actions from Travis (#36)
Addresses the issue raised in getsentry/publish#46
1 parent a557fb0 commit 43dae76

File tree

5 files changed

+34
-34
lines changed

5 files changed

+34
-34
lines changed

.craft.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
2-
minVersion: "0.14.0"
2+
minVersion: "0.15.0"
33
github:
44
owner: getsentry
55
repo: sentry-netlify-build-plugin
66
changelogPolicy: none
7-
preReleaseCommand: bash scripts/craft-pre-release.sh
87
statusProvider:
98
name: github
109
artifactProvider:

.github/workflows/build.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Build
2+
on:
3+
push:
4+
branches:
5+
- master
6+
- release/**
7+
pull_request:
8+
9+
jobs:
10+
build:
11+
name: Build
12+
runs-on: ubuntu-latest
13+
timeout-minutes: 15
14+
steps:
15+
- uses: actions/checkout@v2
16+
- uses: actions/setup-node@v1
17+
- uses: actions/cache@v2
18+
id: cache-deps
19+
with:
20+
path: |
21+
**/node_modules
22+
key: ${{ hashFiles('**/package-lock.json') }}
23+
- name: Install
24+
if: steps.cache-deps.outputs.cache-hit != 'true'
25+
run: npm ci
26+
- name: Pack
27+
run: npm pack
28+
- name: Upload Artifacts
29+
uses: actions/upload-artifact@v2
30+
with:
31+
name: ${{ github.sha }}
32+
path: |
33+
**/*.tgz

.travis.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)