Skip to content

Bump @types/node from 20.10.3 to 20.10.4 in /.github/action #572

Bump @types/node from 20.10.3 to 20.10.4 in /.github/action

Bump @types/node from 20.10.3 to 20.10.4 in /.github/action #572

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
cache: yarn
cache-dependency-path: .github/action/yarn.lock
- uses: actions/setup-go@v4
with:
go-version: 1.21
cache: ${{ github.ref_name == 'main' }}
- uses: golangci/golangci-lint-action@v3.7.0
- run: make download
- run: make test
- uses: goreleaser/goreleaser-action@v5
with:
install-only: true
- uses: crazy-max/ghaction-upx@v3
with:
install-only: true
- name: Run make install
run: make INSTALL=install BIN=$RUNNER_TEMP
- name: Set path
run: echo $RUNNER_TEMP >> $GITHUB_PATH
- name: Run forge task node
run: forge task ./testdata/tasks/node
# TODO
# - uses: actions/checkout@v4
# with:
# repository: microsoft/azure-pipelines-tasks
# path: testdata/tasks/azure-pipelines-tasks
# sparse-checkout: |
# Tasks/
# - name: Run forge task KubectlInstallerV0
# run: forge task -e node16 ./testdata/tasks/azure-pipelines-tasks/Tasks/KubectlInstallerV0
- uses: ./
with:
install: false
get: mock
- uses: ./
with:
install: false
put: mock
params: |
version=0.0.0
- name: Run forge use remote
run: forge use frantjc/forge/testdata/actions/docker@${{ github.sha }}
- name: Run forge use local
run: forge use ./testdata/actions/node
- name: Run forge use dockerfile
run: forge use ./testdata/actions/dockerfile
- name: Run forge check resource
run: forge check mock -v version=v0.0.0
- name: Run forge get resource
run: forge get mock -v version=v0.0.0
- name: Run forge put resource
run: forge put mock -v version=v0.0.0 -p version=v0.0.0
- run: forge cache --clean