8000 GitHub Actions: Test on current Node.js by cclauss · Pull Request #282 · pyscript/pyscript · GitHub
[go: up one dir, main page]

Skip to content

GitHub Actions: Test on current Node.js #282

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

Merged
merged 3 commits into from
May 9, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
< 10000 svg style="box-sizing: content-box; color: var(--color-icon-primary);" width="32" height="32" viewBox="0 0 16 16" fill="none" aria-hidden="true" data-view-component="true" class="anim-rotate"> Loading
Diff view
Diff view
Next Next commit
GitHub Actions: Test on current Node.js
Node.js 12 is end-of-life.  https://nodejs.org/en/about/releases
  • Loading branch information
cclauss authored May 8, 2022
commit 82e0de192b8ec2628c1defef035fa09af6f7468b
11 changes: 5 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,30 @@
name: Build

on:
push: # Only run on merges into master that modify files under pyscriptjs/
push: # Only run on merges into master that modify files under pyscriptjs/
branches: main
paths:
- pyscriptjs/**
- .github/workflows/** # Test that workflows work when changed
- .github/workflows/** # Test that workflows work when changed

pull_request: # Run on any PR that modifies files in pyscriptjs/
pull_request: # Run on any PR that modifies files in pyscriptjs/
paths:
- pyscriptjs/**
- .github/workflows/**

jobs:
build:
runs-on: ubuntu-latest # Will be self hosted soon
runs-on: ubuntu-latest # Will be self hosted soon
defaults:
run:
working-directory: ./pyscriptjs

steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install node
uses: actions/setup-node@v3
with:
node-version: 12.x
node-version: 18.x
- name: Cache node modules
uses: actions/cache@v3
env:
Expand Down
0