Skip to content

Commit

Permalink
Update CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bndkt committed Sep 13, 2023
1 parent f219e7d commit af21f90
Showing 1 changed file with 12 additions and 22 deletions.
34 changes: 12 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,19 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI

name: CI
on:
push:
branches: ["main"]
branches:
- main
pull_request:
branches: ["main"]

jobs:
build:
CI:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8.6.0
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.16.0
cache: "pnpm"
- run: pnpm install
- run: pnpm run build
# - run: pnpm run test
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Bun
uses: oven-sh/setup-bun@v1
- name: Install dependencies
run: bun install
- name: Build react-native-widget-extension
run: bun run build

0 comments on commit af21f90

Please sign in to comment.