Skip to content

Commit

Permalink
Merge b2e3df4 into f9c6a3b
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalre committed Apr 4, 2023
2 parents f9c6a3b + b2e3df4 commit e5269c9
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,27 @@
name: github-action

on:
push:
branches:
- '*'
pull_request:
branches:
- '*'

env:
NODE_VERSION: 16

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup Node.js
- name: Setup Node ${{env.NODE_VERSION}}
uses: actions/setup-node@v3
with:
node-version: 16
node-version: ${{env.NODE_VERSION}}

- name: install
run: |
Expand Down
14 changes: 11 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
name: publish

on:
push:
tags:
- '*'

env:
NODE_VERSION: 16

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- name: Checkout code
uses: actions/checkout@v3

- name: Setup Node ${{env.NODE_VERSION}}
uses: actions/setup-node@v3
with:
node-version: 16
node-version: ${{env.NODE_VERSION}}

- name: Install dependencies
run: npm i
Expand Down

0 comments on commit e5269c9

Please sign in to comment.